aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-10-20 13:35:54 -0200
committerSilvio Rhatto <rhatto@riseup.net>2015-10-20 13:35:54 -0200
commit6f6cd61583fb02c84fe5d3cb1835f16630e94808 (patch)
treea818d081edd59c38d847ac6b9787848b37aa7346 /manifests
parent9ff446a0444b7769e0236af85a48fd5c3bc874d1 (diff)
downloadpuppet-backup-6f6cd61583fb02c84fe5d3cb1835f16630e94808.tar.gz
puppet-backup-6f6cd61583fb02c84fe5d3cb1835f16630e94808.tar.bz2
Package hwinfo not availabe on Ubuntu
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp7
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":