diff options
author | Matt Taggart <taggart@lackof.org> | 2009-12-30 21:22:17 -0800 |
---|---|---|
committer | Matt Taggart <taggart@lackof.org> | 2009-12-30 21:22:17 -0800 |
commit | 022e824d8a006f1ef4e742b6af5176daecda1cd0 (patch) | |
tree | 1c79fc63611e88a7e3e52dea10469ef1270e5493 /manifests/host.pp | |
parent | da6ded035a7074306587c76e8d3b90cda6b3bdc8 (diff) |
switch to correct way of checking if the variable is set
Diffstat (limited to 'manifests/host.pp')
-rw-r--r-- | manifests/host.pp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/manifests/host.pp b/manifests/host.pp index 3306195..e6b3916 100644 --- a/manifests/host.pp +++ b/manifests/host.pp @@ -5,9 +5,7 @@ class munin::host inherits munin { - case $munin_ensure_version { - '': { $munin_ensure_version = "installed" } - } + if $munin_ensure_version == '' { $munin_ensure_version = 'installed' } package {"munin": ensure => $munin_ensure_version, } |