aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2008-10-28 16:37:00 -0400
committerMicah Anderson <micah@riseup.net>2008-10-28 16:37:00 -0400
commitb2d13b4fc21f7bab174e6b2a6e8336665b9bcb77 (patch)
tree0958fd4628c9e4025dd3b1325e06fbc01974b5a2
parentb597cfe82f9ae180a513a108cdd32968d84058bb (diff)
downloadpuppet-virtual-b2d13b4fc21f7bab174e6b2a6e8336665b9bcb77.tar.gz
puppet-virtual-b2d13b4fc21f7bab174e6b2a6e8336665b9bcb77.tar.bz2
add case selector for util-vserver version
-rw-r--r--manifests/vserver.pp8
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