| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This module allows for easy setup and configuration of PE code manager in PE2015.3 and above. If you are using PE 2015.2 then the module will default to installing the zack/r10k webhook.
Upon upgrading to 2015.3 the module will uninstall zack/r10k and attempt to use code manager but this requires that you've set the correct parameters in the puppet_enterprise module for it to work.
This module was originally a very prescriptive profile in the puppetlabs-rampupprogram/control-repo but is now here as its own module to make it more widely available.
Enable code mananger then install and run this module:
puppet agent -t puppet module install npwalker-pe_code_manager_webhook chown -R pe-puppet:pe-puppet /etc/puppetlabs/code/ puppet apply -e "include pe_code_manager_webhook::code_manager"
Configure a deploy key in your Git server using the SSH key created by the module
If you are using Gitlab < 8.5 as your git UI then you will also need to set the following hiera key to disable authentication to the code manager webhook. This is because gitlab currently does not allow for webhook urls that are longer than 255 characters while the RBAC token you need to place in the URL is, on its own, longer than 255 characters.
If you are using an older version of gitlab ( before version 8 ) then you will not have the ability to disable ssl verification either and would need to disable the webhook authentication on code manager.
puppet_enterprise::master::code_manager::authenticate_webhook: false
This module was created as a part of the puppetlabs-rampupprogram/control-repo and for the time being the documentation in that control-repo may also serve as a useful supplement to this module.
In fact if you are a new user of PE then you may consider using the puppetabs/control repo instead of trying to implement this module on its own.
The purpose of this module is mostly for configuring code manager but the zack/r10k functionality is left in place undocumented.
| Back | FazBrowse Home | New Git URL |