aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-05-20 19:27:55 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-05-20 19:27:55 -0300
commit0f39804053e0ddcd8dfc235d1adc78a810b9d3b3 (patch)
treec207373f27b7fa75bdf4eb99c45dbcaec7e0e3da /manifests
parent7ce344b76eb0b70345d253f0d4a1d0f984f70944 (diff)
downloadpuppet-nodo-0f39804053e0ddcd8dfc235d1adc78a810b9d3b3.tar.gz
puppet-nodo-0f39804053e0ddcd8dfc235d1adc78a810b9d3b3.tar.bz2
Do not manage syslinux-utils in all archs
Diffstat (limited to 'manifests')
-rw-r--r--manifests/utils/storage/archive.pp10
1 files changed, 9 insertions, 1 deletions
diff --git a/manifests/utils/storage/archive.pp b/manifests/utils/storage/archive.pp
index 779e28e..e7af761 100644
--- a/manifests/utils/storage/archive.pp
+++ b/manifests/utils/storage/archive.pp
@@ -3,7 +3,15 @@ class nodo::utils::storage::archive {
ensure => latest,
}
- package { [ 'jigdo-file', 'fdupes', 'gddrescue', 'syslinux-utils' ]:
+ package { [ 'jigdo-file', 'fdupes', 'gddrescue' ]:
ensure => installed,
}
+
+ package { 'syslinux-utils':
+ ensure => $::architecture ? {
+ 'amd64' => present,
+ 'i386' => present,
+ default => absent,
+ },
+ }
}