control-repo/environment.conf
Nick Walker f5cb1fa757 Update config_version to use a script that does not require git
The config_version now uses a script that will do one of two
things:

1. call config_version.rb which uses rugged to find the information
about the latest commit if PE is on version 2015.2 or newer

2. make a call to git if the PE version is less than 2015.2
2015-08-03 17:05:06 -07:00

9 lines
573 B
Plaintext

modulepath = modules:site:$basemodulepath
config_version = 'scripts/config_version.sh $environmentpath $environment'
# Environment timeout should be set to unlimited. When set to zero it is less performant.
# When code is deployed the admin API of puppetserver should be used to force a refresh of code from disk.
# https://docs.puppetlabs.com/puppetserver/1.0/release_notes.html#new-feature-admin-api-for-refreshing-environments
# https://docs.puppetlabs.com/puppet/3.7/reference/environments_configuring.html#environmenttimeout
environment_timeout = 0