From 7ed1c52b68bbdafe9669cd3e3fcbdd3cc1202ff6 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 4 Jun 2013 18:33:07 -0300 Subject: Adding nodo::subsystem::monitor::master --- manifests/role/master.pp | 1 + manifests/subsystem/monitor/master.pp | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 manifests/subsystem/monitor/master.pp (limited to 'manifests') 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'], + } +} -- cgit v1.2.3