]> gitweb.fluxo.info Git - puppet-backup.git/commitdiff
Package python-gobject-2 just available on wheezy onwards
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 17 Feb 2014 14:08:22 +0000 (11:08 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 17 Feb 2014 14:08:22 +0000 (11:08 -0300)
manifests/init.pp

index 26e8f2faaf485a21625244b20554f757d258ce60..ff7ef0c7b16bbc44ae37963513652af33063a210 100644 (file)
@@ -49,7 +49,12 @@ class backup(
   package { "hwinfo":        ensure => installed, }
 
   # See http://www.rfc3092.net/2013/09/missing-modules-for-paramiko-and-gio-in-duplicity-foo/
-  package { "python-gobject-2": ensure => installed, }
+  package { "python-gobject-2":
+    ensure => $::lsbdistcodename ? {
+      'squeeze' => absent,
+       default  => present,
+    },
+  }
 
   backupninja::config { "conf":
     loglvl        => 4,