]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Restrict syslinux availability
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 13 Sep 2015 19:40:30 +0000 (16:40 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 13 Sep 2015 19:40:30 +0000 (16:40 -0300)
manifests/utils/storage/iso.pp

index 24772d632d19dcb05baa81a13c38349920ce7e09..73590f7653e7976a64ad4aee188007decd635294 100644 (file)
@@ -1,5 +1,9 @@
 class nodo::utils::storage::iso {
   package { 'syslinux':
-    ensure => installed,
+    ensure => $::arch ? {
+      'amd64' => present,
+      'i386'  => present,
+      default => absent,
+    },
   }
 }