summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-01-31 11:40:41 +0100
committervarac <varacanero@zeromail.org>2013-01-31 11:40:41 +0100
commitced1717ae310c5b24fffd041c8af38b016d90ed4 (patch)
treede9fcfbd64e46bca37d81c5e47f0149743b38f5f
parentab9a292f41139c5c5e36de87e03236e29dd27e23 (diff)
include site_nagios so every subclass inherits tag 'service'
-rw-r--r--puppet/manifests/site.pp2
-rw-r--r--puppet/modules/site_nagios/manifests/init.pp4
2 files changed, 5 insertions, 1 deletions
diff --git a/puppet/manifests/site.pp b/puppet/manifests/site.pp
index 146b373e..d422bef7 100644
--- a/puppet/manifests/site.pp
+++ b/puppet/manifests/site.pp
@@ -33,5 +33,5 @@ if 'ca' in $services {
}
if 'monitor' in $services {
- include site_nagios::server
+ include site_nagios
}
diff --git a/puppet/modules/site_nagios/manifests/init.pp b/puppet/modules/site_nagios/manifests/init.pp
new file mode 100644
index 00000000..57da3011
--- /dev/null
+++ b/puppet/modules/site_nagios/manifests/init.pp
@@ -0,0 +1,4 @@
+class site_nagios {
+ tag 'service'
+ include site_nagios::server
+}