diff options
author | mail_redacted_for_web | 2015-08-03 17:05:06 -0700 |
---|---|---|
committer | mail_redacted_for_web | 2015-08-03 17:05:06 -0700 |
commit | f5cb1fa75796327cefe8054efeab855c143ef2e3 (patch) | |
tree | 03d15ad055772110183abc70efec2df89645d716 /environment.conf | |
parent | 437433ff44cd77915a4a7b1d61d7aa624c44b41a (diff) | |
download | control-repo-template-f5cb1fa75796327cefe8054efeab855c143ef2e3.tar.bz2 |
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
Diffstat (limited to 'environment.conf')
-rw-r--r-- | environment.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/environment.conf b/environment.conf index a1579ce..6d60708 100644 --- a/environment.conf +++ b/environment.conf @@ -1,5 +1,5 @@ modulepath = modules:site:$basemodulepath -config_version = '/usr/bin/git --git-dir $confdir/environments/$environment/.git rev-parse HEAD' +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. |