diff options
Diffstat (limited to 'puppet/modules/site_nagios/manifests/server/hostgroup.pp')
-rw-r--r-- | puppet/modules/site_nagios/manifests/server/hostgroup.pp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/puppet/modules/site_nagios/manifests/server/hostgroup.pp b/puppet/modules/site_nagios/manifests/server/hostgroup.pp index 6f85ca6d..0692fced 100644 --- a/puppet/modules/site_nagios/manifests/server/hostgroup.pp +++ b/puppet/modules/site_nagios/manifests/server/hostgroup.pp @@ -1,3 +1,7 @@ +# create a nagios hostsgroup define site_nagios::server::hostgroup ($contact_emails) { - nagios_hostgroup { $name: } + nagios_hostgroup { $name: + ensure => present, + require => Package['nagios'] + } } |