summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/client/package.pp4
-rw-r--r--manifests/host.pp4
2 files changed, 2 insertions, 6 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']{
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, }