]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blame - modules/profile/manifests/monitoring/contacts.pp
Refactor a bit monitoring profile
[perso/Immae/Projets/Puppet.git] / modules / profile / manifests / monitoring / contacts.pp
CommitLineData
0363f38e 1class profile::monitoring::contacts inherits profile::monitoring::params {
d8f933bd 2 Nagios_contactgroup {
69624636
IB
3 ensure => "present",
4 owner => "naemon",
5 group => "naemon",
0363f38e 6 target => $objects,
69624636
IB
7 notify => Service["naemon"],
8 before => Service["naemon"],
9 require => File["/etc/naemon"],
d8f933bd
IB
10 }
11
12 nagios_contactgroup { "admins":
13 alias => "System administrators",
14 }
15
16}