git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/environment.conf
diff options
context:
space:
mode:
authormail_redacted_for_web 2015-08-25 11:47:19 -0700
committermail_redacted_for_web 2015-08-25 11:47:19 -0700
commit568978d76fff65da6879cff285c6e4eb22a94c4e (patch)
tree53ce8e3abd87d7d3a5d7863bfecb18818bbab577 /environment.conf
parent1e174e6c60e97596e3575f069370018208f16f38 (diff)
downloadcontrol-repo-template-568978d76fff65da6879cff285c6e4eb22a94c4e.tar.bz2
pulling some stuff from npwalker/control-repo
Diffstat (limited to 'environment.conf')
-rw-r--r--environment.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/environment.conf b/environment.conf
new file mode 100644
index 0000000..6d60708
--- /dev/null
+++ b/environment.conf
@@ -0,0 +1,8 @@
+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