]> gitweb.fluxo.info Git - puppet-virtual.git/commitdiff
use xen tools backport if in lenny
authorPietro Ferrari <pietro@riseup.net>
Wed, 4 Mar 2009 20:50:33 +0000 (12:50 -0800)
committerPietro Ferrari <pietro@riseup.net>
Wed, 4 Mar 2009 20:50:33 +0000 (12:50 -0800)
manifests/xen.pp

index 52e6f6fff7f56c8f1cf7bd1a15513c7d6c6f6666..5c4fc09569778c2815ba8c1b477d4f4a882bdadf 100644 (file)
@@ -117,8 +117,12 @@ class xen::dom0::centos inherits xen::dom0::base {
 }
 
 class xen::dom0::debian inherits xen::dom0::base {
-  package {
-    "xen-tools":
-      ensure => present;
+  case $lsbdistcodename {
+    lenny: {
+      package {
+        "xen-tools":
+          ensure => "4.1-1~bpo50+1",
+      }
+    }
   }
 }