summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-02-06 22:57:26 +0100
committermh <mh@immerda.ch>2011-02-06 22:57:26 +0100
commit24248f83cf94ab445a09255f35bf76b8a9017122 (patch)
tree7221435be3a7220fcf57584cb8fe75f5b6d98b81 /manifests
parent8583bf11995f8289ccd145febcaad5d079f65fdf (diff)
parent95ff26b01a6d3cfe58490d39a6abe0e4f20d3eab (diff)
merge lelutin
Diffstat (limited to 'manifests')
-rw-r--r--manifests/base.pp18
1 files changed, 18 insertions, 0 deletions
diff --git a/manifests/base.pp b/manifests/base.pp
index 88ac64c..d0cbbf4 100644
--- a/manifests/base.pp
+++ b/manifests/base.pp
@@ -76,11 +76,14 @@ class nagios::base {
Nagios_command <<||>>
Nagios_contactgroup <<||>>
Nagios_contact <<||>>
+ Nagios_hostdependency <<||>>
+ Nagios_hostescalation <<||>>
Nagios_hostextinfo <<||>>
Nagios_hostgroup <<||>>
Nagios_host <<||>>
Nagios_servicedependency <<||>>
Nagios_serviceescalation <<||>>
+ Nagios_servicegroup <<||>>
Nagios_serviceextinfo <<||>>
Nagios_service <<||>>
Nagios_timeperiod <<||>>
@@ -106,6 +109,14 @@ class nagios::base {
require => File['nagios_confd'],
notify => Service['nagios'],
}
+ Nagios_hostdependency <||> {
+ target => "${nagios_cfgdir}/conf.d/nagios_hostdependency.cfg",
+ notify => Service['nagios'],
+ }
+ Nagios_hostescalation <||> {
+ target => "${nagios_cfgdir}/conf.d/nagios_hostescalation.cfg",
+ notify => Service['nagios'],
+ }
Nagios_hostextinfo <||> {
target => "${nagios::defaults::vars::int_nagios_cfgdir}/conf.d/nagios_hostextinfo.cfg",
require => File['nagios_confd'],
@@ -121,6 +132,10 @@ class nagios::base {
require => File['nagios_confd'],
notify => Service['nagios'],
}
+ Nagios_servicegroup <||> {
+ target => "${nagios_cfgdir}/conf.d/nagios_servicegroup.cfg",
+ notify => Service['nagios'],
+ }
Nagios_servicedependency <||> {
target => "${nagios::defaults::vars::int_nagios_cfgdir}/conf.d/nagios_servicedependency.cfg",
require => File['nagios_confd'],
@@ -146,6 +161,8 @@ class nagios::base {
"${nagios::defaults::vars::int_nagios_cfgdir}/conf.d/nagios_contact.cfg",
"${nagios::defaults::vars::int_nagios_cfgdir}/conf.d/nagios_contactgroup.cfg",
"${nagios::defaults::vars::int_nagios_cfgdir}/conf.d/nagios_host.cfg",
+ "${nagios::defaults::vars::int_nagios_cfgdir}/conf.d/nagios_hostdependency.cfg",
+ "${nagios::defaults::vars::int_nagios_cfgdir}/conf.d/nagios_hostescalation.cfg",
"${nagios::defaults::vars::int_nagios_cfgdir}/conf.d/nagios_hostextinfo.cfg",
"${nagios::defaults::vars::int_nagios_cfgdir}/conf.d/nagios_hostgroup.cfg",
"${nagios::defaults::vars::int_nagios_cfgdir}/conf.d/nagios_hostgroupescalation.cfg",
@@ -153,6 +170,7 @@ class nagios::base {
"${nagios::defaults::vars::int_nagios_cfgdir}/conf.d/nagios_servicedependency.cfg",
"${nagios::defaults::vars::int_nagios_cfgdir}/conf.d/nagios_serviceescalation.cfg",
"${nagios::defaults::vars::int_nagios_cfgdir}/conf.d/nagios_serviceextinfo.cfg",
+ "${nagios::defaults::vars::int_nagios_cfgdir}/conf.d/nagios_servicegroup.cfg",
"${nagios::defaults::vars::int_nagios_cfgdir}/conf.d/nagios_timeperiod.cfg" ]:
ensure => file,
replace => false,