diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/service.pp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/service.pp b/manifests/service.pp index 3e732b7..ffbbc72 100644 --- a/manifests/service.pp +++ b/manifests/service.pp @@ -53,6 +53,10 @@ define nagios::service ( Nagios_service["${real_name}"] { notification_options => $notification_options } } + if ($contact_groups != '') { + Nagios_service["${real_name}"] { contact_groups => $contact_groups } + } + if ($use == 'absent') { Nagios_service["${real_name}"] { use => 'generic-service' } } else { |