diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-02-17 11:08:22 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-02-17 11:08:22 -0300 |
commit | 54b91b059901e06b5cdc1dbda959304557e8b45a (patch) | |
tree | 9e09cded0c4e6f0dff140ee8e70067a53e3908e6 | |
parent | 9cc390c59df6ad2ea7357374598ea8069e0fb0e6 (diff) | |
download | puppet-backup-54b91b059901e06b5cdc1dbda959304557e8b45a.tar.gz puppet-backup-54b91b059901e06b5cdc1dbda959304557e8b45a.tar.bz2 |
Package python-gobject-2 just available on wheezy onwards
-rw-r--r-- | manifests/init.pp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 26e8f2f..ff7ef0c 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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, |