aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/role/master.pp1
-rw-r--r--manifests/subsystem/monitor/master.pp9
2 files changed, 10 insertions, 0 deletions
diff --git a/manifests/role/master.pp b/manifests/role/master.pp
index 804ea78..cbc3b5d 100644
--- a/manifests/role/master.pp
+++ b/manifests/role/master.pp
@@ -39,6 +39,7 @@ class nodo::role::master {
include websites::admin
include nagios::headless
include nagios::defaults
+ include nodo::subsystem::monitor::master
# Nagios apache workaround
file { "/etc/apache2/conf.d/nagios3.conf":
diff --git a/manifests/subsystem/monitor/master.pp b/manifests/subsystem/monitor/master.pp
new file mode 100644
index 0000000..6895617
--- /dev/null
+++ b/manifests/subsystem/monitor/master.pp
@@ -0,0 +1,9 @@
+class nodo::subsystem::monitor::master {
+ file { '/etc/nagios-plugins/check_rbl.ini':
+ ensure => present,
+ owner => root,
+ group => root,
+ source => 'puppet:///modules/nodo/etc/nagios-plugins/check_rbl.ini',
+ require => Package['nagios'],
+ }
+}