git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
2022-03-221-0/+12
* removed spaces after linenrH. P. 2022-03-221-1/+1
* Hide grep outputlue='config_version_lirion'/>
context:
space:
mode:
authormail_redacted_for_web 2015-01-13 16:42:06 -0800
committermail_redacted_for_web 2015-01-13 16:42:06 -0800
commit4e2a2b81cf17909647728a0c9febab7ab0370e65 (patch)
treea7c704fd0f7eaa8b0e0ed55e10aa6b39575dc70e /environment.conf
downloadcontrol-repo-template-4e2a2b81cf17909647728a0c9febab7ab0370e65.tar.bz2
Initial Commit
Stole Gary's puppet_repository and modified it for general general consumption. Upped the version of r10k to newest (1.4.1) Ripped out the hiera examples just left defaults.yaml Tweaked environment.conf
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..6511fe4
--- /dev/null
+++ b/environment.conf
@@ -0,0 +1,8 @@
+modulepath = modules:$basemodulepath
+config_version = '/usr/bin/git --git-dir $confdir/environments/$environment/.git rev-parse HEAD'
+
+# 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