summaryrefslogtreecommitdiff
path: root/sitemodules/profiles/templates/puppet_server/git-pull-hook.ini.epp
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2018-04-14 20:07:19 +0200
committerJan Dittberner <jandd@cacert.org>2018-04-14 20:07:19 +0200
commit29f04d915c04547500c9cbf906d6a501e203aa6f (patch)
tree66a48fd034a997974713495bb26a02fec761dcb2 /sitemodules/profiles/templates/puppet_server/git-pull-hook.ini.epp
parent9be8e28751a0aa2d577d3e3f019173f00de97a2c (diff)
downloadcacert-puppet-29f04d915c04547500c9cbf906d6a501e203aa6f.tar.gz
cacert-puppet-29f04d915c04547500c9cbf906d6a501e203aa6f.tar.xz
cacert-puppet-29f04d915c04547500c9cbf906d6a501e203aa6f.zip
Add an HTTP hook for updating code on the puppet server
Diffstat (limited to 'sitemodules/profiles/templates/puppet_server/git-pull-hook.ini.epp')
-rw-r--r--sitemodules/profiles/templates/puppet_server/git-pull-hook.ini.epp8
1 files changed, 8 insertions, 0 deletions
diff --git a/sitemodules/profiles/templates/puppet_server/git-pull-hook.ini.epp b/sitemodules/profiles/templates/puppet_server/git-pull-hook.ini.epp
new file mode 100644
index 0000000..8d292b2
--- /dev/null
+++ b/sitemodules/profiles/templates/puppet_server/git-pull-hook.ini.epp
@@ -0,0 +1,8 @@
+<%- | String $ssh_passphrase = undef, String $git_directory = undef, Array[String] $tokens = undef | -%>
+# THIS FILE IS MANAGED BY PUPPET, MANUAL CHANGES WILL BE OVERWRITTEN AT THE
+# NEXT PUPPET RUN.
+
+[git-pull-hook]
+ssh_passphrase=<%= $ssh_passphrase %>
+tokens=<%= $tokens.join(',') %>
+git_directory=<%= $git_directory %>