diff options
-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 |