git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/site/profile/manifests/webhook_mcollective.pp
diff options
context:
space:
mode:
authormail_redacted_for_web 2015-10-16 10:53:16 -0700
committermail_redacted_for_web 2015-10-16 10:56:07 -0700
commit1828e2162304d7d9a2e26743f175d76256b6e0c1 (patch)
treed57789d171cb44335ea142cc8ae19aa4e9b6fdfe /site/profile/manifests/webhook_mcollective.pp
parent6ff5658a2a47cd3e6feaf20fa4083d33342e4b91 (diff)
downloadcontrol-repo-template-1828e2162304d7d9a2e26743f175d76256b6e0c1.tar.bz2
Change to using the webhook without mcollective
In order to complete the change I refactered the webhook into its own set of profiles, one with mcollective and the other without.
Diffstat (limited to 'site/profile/manifests/webhook_mcollective.pp')
-rw-r--r--site/profile/manifests/webhook_mcollective.pp15
1 files changed, 15 insertions, 0 deletions
diff --git a/site/profile/manifests/webhook_mcollective.pp b/site/profile/manifests/webhook_mcollective.pp
new file mode 100644
index 0000000..395cc7a
--- /dev/null
+++ b/site/profile/manifests/webhook_mcollective.pp
@@ -0,0 +1,15 @@
+class profile::webhook_mcollective {
+
+ class { 'r10k::mcollective':
+ notify => Service['mcollective'],
+ }
+
+ include r10k::webhook::config
+
+ class {'r10k::webhook':
+ user => 'root',
+ group => '0',
+ require => Class['r10k::webhook::config'],
+ }
+
+}