diff options
Diffstat (limited to 'modules/profile/manifests/monitoring/hosts.pp')
-rw-r--r-- | modules/profile/manifests/monitoring/hosts.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/profile/manifests/monitoring/hosts.pp b/modules/profile/manifests/monitoring/hosts.pp index 3c8bc73..f7802be 100644 --- a/modules/profile/manifests/monitoring/hosts.pp +++ b/modules/profile/manifests/monitoring/hosts.pp | |||
@@ -1,11 +1,11 @@ | |||
1 | class profile::monitoring::hosts { | 1 | class profile::monitoring::hosts inherits profile::monitoring::params { |
2 | $real_hostname = lookup("base_installation::real_hostname") | 2 | $real_hostname = lookup("base_installation::real_hostname") |
3 | 3 | ||
4 | Nagios_hostgroup { | 4 | Nagios_hostgroup { |
5 | ensure => "present", | 5 | ensure => "present", |
6 | owner => "naemon", | 6 | owner => "naemon", |
7 | group => "naemon", | 7 | group => "naemon", |
8 | target => "/etc/naemon/objects.cfg", | 8 | target => $objects, |
9 | notify => Service["naemon"], | 9 | notify => Service["naemon"], |
10 | before => Service["naemon"], | 10 | before => Service["naemon"], |
11 | require => File["/etc/naemon"], | 11 | require => File["/etc/naemon"], |
@@ -15,7 +15,7 @@ class profile::monitoring::hosts { | |||
15 | ensure => "present", | 15 | ensure => "present", |
16 | owner => "naemon", | 16 | owner => "naemon", |
17 | group => "naemon", | 17 | group => "naemon", |
18 | target => "/etc/naemon/objects.cfg", | 18 | target => $objects, |
19 | notify => Service["naemon"], | 19 | notify => Service["naemon"], |
20 | before => Service["naemon"], | 20 | before => Service["naemon"], |
21 | require => File["/etc/naemon"], | 21 | require => File["/etc/naemon"], |