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/client/package.pp | |
parent | da6ded035a7074306587c76e8d3b90cda6b3bdc8 (diff) |
switch to correct way of checking if the variable is set
Diffstat (limited to 'manifests/client/package.pp')
-rw-r--r-- | manifests/client/package.pp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/manifests/client/package.pp b/manifests/client/package.pp index 7f8a7ba..0fc3529 100644 --- a/manifests/client/package.pp +++ b/manifests/client/package.pp @@ -1,8 +1,6 @@ class munin::client::package inherits munin::client::base { - case $munin_node_ensure_version { - '': { $munin_node_ensure_version = "installed" } - } + if $munin_node_ensure_version == '' { $munin_node_ensure_version = 'installed' } package { 'munin-node': ensure => $munin_node_ensure_version } Service['munin-node']{ |