git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/environment.conf
diff options
context:
space:
mode:
Diffstat (limited to 'environment.conf')
-rw-r--r--environment.conf2
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.