diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-10-20 13:35:54 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-10-20 13:35:54 -0200 |
commit | 6f6cd61583fb02c84fe5d3cb1835f16630e94808 (patch) | |
tree | a818d081edd59c38d847ac6b9787848b37aa7346 /manifests | |
parent | 9ff446a0444b7769e0236af85a48fd5c3bc874d1 (diff) | |
download | puppet-backup-6f6cd61583fb02c84fe5d3cb1835f16630e94808.tar.gz puppet-backup-6f6cd61583fb02c84fe5d3cb1835f16630e94808.tar.bz2 |
Package hwinfo not availabe on Ubuntu
Diffstat (limited to 'manifests')
-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 9792141..7bc4041 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -42,7 +42,12 @@ class backup( } package { "debconf-utils": ensure => installed, } - package { "hwinfo": ensure => installed, } + package { "hwinfo": + ensure => $::lsbdistid ? { + 'Ubuntu' => absent, + default => present, + }, + } # See http://www.rfc3092.net/2013/09/missing-modules-for-paramiko-and-gio-in-duplicity-foo/ package { "python-gobject-2": |