summaryrefslogtreecommitdiff
path: root/manifests/host.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/host.pp')
-rw-r--r--manifests/host.pp7
1 files changed, 6 insertions, 1 deletions
diff --git a/manifests/host.pp b/manifests/host.pp
index c1fa3db..3306195 100644
--- a/manifests/host.pp
+++ b/manifests/host.pp
@@ -4,7 +4,12 @@
class munin::host inherits munin
{
- package {"munin": ensure => installed, }
+
+ case $munin_ensure_version {
+ '': { $munin_ensure_version = "installed" }
+ }
+
+ package {"munin": ensure => $munin_ensure_version, }
File <<| tag == 'munin' |>>