]> gitweb.fluxo.info Git - puppet-backup.git/commitdiff
Package hwinfo not availabe on Ubuntu
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 20 Oct 2015 15:35:54 +0000 (13:35 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 20 Oct 2015 15:35:54 +0000 (13:35 -0200)
manifests/init.pp

index 9792141ef1ddbdd59a2b16005b49e1a815dfd38c..7bc4041fa481fdca96a198bc4359b0adf183741b 100644 (file)
@@ -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":