diff options
author | Matt Taggart <taggart@lackof.org> | 2009-12-30 15:11:39 -0800 |
---|---|---|
committer | Matt Taggart <taggart@lackof.org> | 2009-12-30 15:11:39 -0800 |
commit | a8d3b6af4a63724ca31eab772978a35927797b2b (patch) | |
tree | 17ae3b040f24dd5fe6ba0b8290817c4c17aae969 /manifests/host.pp | |
parent | a6477f6edc481b7874ae8b3497343d3ad8ad805f (diff) |
add support for setting munin and munin-node package versions
Diffstat (limited to 'manifests/host.pp')
-rw-r--r-- | manifests/host.pp | 7 |
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' |>> |