summaryrefslogtreecommitdiff
path: root/sitemodules/profiles/templates/icinga2_master/icinga2-git-pull-hook.ini.epp
diff options
context:
space:
mode:
Diffstat (limited to 'sitemodules/profiles/templates/icinga2_master/icinga2-git-pull-hook.ini.epp')
-rw-r--r--sitemodules/profiles/templates/icinga2_master/icinga2-git-pull-hook.ini.epp16
1 files changed, 16 insertions, 0 deletions
diff --git a/sitemodules/profiles/templates/icinga2_master/icinga2-git-pull-hook.ini.epp b/sitemodules/profiles/templates/icinga2_master/icinga2-git-pull-hook.ini.epp
new file mode 100644
index 0000000..02d5b0c
--- /dev/null
+++ b/sitemodules/profiles/templates/icinga2_master/icinga2-git-pull-hook.ini.epp
@@ -0,0 +1,16 @@
+<%- | String $ssh_passphrase,
+ String $git_directory,
+ String $git_repository,
+ String $git_branch,
+ Array[String] $tokens
+| -%>
+# THIS FILE IS MANAGED BY PUPPET, MANUAL CHANGES WILL BE OVERWRITTEN AT THE
+# NEXT PUPPET RUN.
+
+[icinga2-git-pull-hook]
+ssh_passphrase=<%= $ssh_passphrase %>
+tokens=<%= $tokens.join(',') %>
+git_directory=<%= $git_directory %>
+logfile=/var/log/git-pull-hook.log
+git_repository=<%= $git_repository %>
+git_branch=<%= $git_branch %>