diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-05-20 19:27:55 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-05-20 19:27:55 -0300 |
commit | 0f39804053e0ddcd8dfc235d1adc78a810b9d3b3 (patch) | |
tree | c207373f27b7fa75bdf4eb99c45dbcaec7e0e3da /manifests/utils | |
parent | 7ce344b76eb0b70345d253f0d4a1d0f984f70944 (diff) | |
download | puppet-nodo-0f39804053e0ddcd8dfc235d1adc78a810b9d3b3.tar.gz puppet-nodo-0f39804053e0ddcd8dfc235d1adc78a810b9d3b3.tar.bz2 |
Do not manage syslinux-utils in all archs
Diffstat (limited to 'manifests/utils')
-rw-r--r-- | manifests/utils/storage/archive.pp | 10 |
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, + }, + } } |