diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/defines.pp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/manifests/defines.pp b/manifests/defines.pp index c473f73..c789c8d 100644 --- a/manifests/defines.pp +++ b/manifests/defines.pp @@ -115,7 +115,11 @@ define nagios::service( } # if no service_description is set it is a namevar case $service_description { - '': {} + '': { + Nagios_service[$name]{ + service_description => $name, + } + } default: { Nagios_service[$name]{ service_description => $service_description, |