diff options
author | mh <mh@immerda.ch> | 2009-02-21 19:23:43 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2009-02-21 19:23:43 +0000 |
commit | 84833fdfacda69a9faaefab60a52710ff2c66e73 (patch) | |
tree | 1d7499b60c4f90363358fcb16ff1b441771b325b /manifests | |
parent | 7f2464eb01a74960b422f15b8ee46814d7ea78ff (diff) |
newer puppet version doesn't anymore automatically set the name var for service_description
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, |