diff options
author | Micah Anderson <micah@riseup.net> | 2008-10-28 16:37:00 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2008-10-28 16:37:00 -0400 |
commit | b2d13b4fc21f7bab174e6b2a6e8336665b9bcb77 (patch) | |
tree | 0958fd4628c9e4025dd3b1325e06fbc01974b5a2 /manifests/vserver.pp | |
parent | b597cfe82f9ae180a513a108cdd32968d84058bb (diff) | |
download | puppet-virtual-b2d13b4fc21f7bab174e6b2a6e8336665b9bcb77.tar.gz puppet-virtual-b2d13b4fc21f7bab174e6b2a6e8336665b9bcb77.tar.bz2 |
add case selector for util-vserver version
Diffstat (limited to 'manifests/vserver.pp')
-rw-r--r-- | manifests/vserver.pp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/manifests/vserver.pp b/manifests/vserver.pp index 2771ffd..853a002 100644 --- a/manifests/vserver.pp +++ b/manifests/vserver.pp @@ -7,9 +7,15 @@ class vserver::host { # make sure we have the ability to query for lsbdistcodename include assert_lsbdistcodename + $util-vserver_version = $lsbdistcodename ? { + etch => "0.30.215-2~bpo40+1", + lenny => latest, + default => latest. + } + package { "util-vserver": - ensure => "0.30.215-2~bpo40+1"; + ensure => $util-vserver_version; debootstrap: ensure => installed |