]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blobdiff - modules/profile/manifests/monitoring/contacts.pp
Refactor a bit monitoring profile
[perso/Immae/Projets/Puppet.git] / modules / profile / manifests / monitoring / contacts.pp
index 107af18364ca20c74ebfa95f6be72241056e0b46..a751153b8f171517c6cf686e63bbe7882320b100 100644 (file)
@@ -1,9 +1,9 @@
-class profile::monitoring::contacts {
+class profile::monitoring::contacts inherits profile::monitoring::params {
   Nagios_contactgroup {
     ensure  => "present",
     owner   => "naemon",
     group   => "naemon",
-    target  => "/etc/naemon/objects.cfg",
+    target  => $objects,
     notify  => Service["naemon"],
     before  => Service["naemon"],
     require => File["/etc/naemon"],