aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-06-04 18:33:07 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-06-04 18:33:07 -0300
commit7ed1c52b68bbdafe9669cd3e3fcbdd3cc1202ff6 (patch)
tree3059776b6907c9aa85fa287658277bd322727e91 /manifests
parent36670b955bfcbfbfc1079c1e1bd74a1026ea7c4f (diff)
downloadpuppet-nodo-7ed1c52b68bbdafe9669cd3e3fcbdd3cc1202ff6.tar.gz
puppet-nodo-7ed1c52b68bbdafe9669cd3e3fcbdd3cc1202ff6.tar.bz2
Adding nodo::subsystem::monitor::master
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'],
+ }
+}