aboutsummaryrefslogtreecommitdiff
path: root/modules/profile/manifests/monitoring/contacts.pp
blob: 107af18364ca20c74ebfa95f6be72241056e0b46 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class profile::monitoring::contacts {
  Nagios_contactgroup {
    ensure  => "present",
    owner   => "naemon",
    group   => "naemon",
    target  => "/etc/naemon/objects.cfg",
    notify  => Service["naemon"],
    before  => Service["naemon"],
    require => File["/etc/naemon"],
  }

  nagios_contactgroup { "admins":
    alias => "System administrators",    
  }

}