schroot has to be on hold on wheezy
authorStephen Gran <steve@lobefin.net>
Thu, 5 Apr 2012 14:03:58 +0000 (15:03 +0100)
committerStephen Gran <steve@lobefin.net>
Thu, 5 Apr 2012 14:03:58 +0000 (15:03 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/buildd/manifests/init.pp

index 0993a1d..364267a 100644 (file)
@@ -1,6 +1,13 @@
 class buildd {
+
+       # sigh, sort this mess out, kids
+       if $::lsbdistcodename in [lenny,squeeze] {
+               package { 'schroot': ensure => installed }
+       } else {
+               package { 'schroot': ensure => held }
+       }
+
        package { [
-                       'schroot',
                        'sbuild',
                        'apt-transport-https',
                        'debootstrap',