diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-09-23 16:29:26 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-09-23 16:29:26 -0300 |
commit | 4a880ad141c8deefb41549e5e79c868303e1c296 (patch) | |
tree | 259be8415b54beb82bcafa6fed2114de49a627b4 /manifests/utils/storage | |
parent | 50d24f812a1ea34e190632cfef4b217490d7522d (diff) | |
download | puppet-nodo-4a880ad141c8deefb41549e5e79c868303e1c296.tar.gz puppet-nodo-4a880ad141c8deefb41549e5e79c868303e1c296.tar.bz2 |
Coding style for utilities
Diffstat (limited to 'manifests/utils/storage')
-rw-r--r-- | manifests/utils/storage/archive.pp | 14 | ||||
-rw-r--r-- | manifests/utils/storage/crypto.pp | 5 | ||||
-rw-r--r-- | manifests/utils/storage/iso.pp | 4 | ||||
-rw-r--r-- | manifests/utils/storage/layer.pp | 5 |
4 files changed, 22 insertions, 6 deletions
diff --git a/manifests/utils/storage/archive.pp b/manifests/utils/storage/archive.pp index e7af761..cd670dc 100644 --- a/manifests/utils/storage/archive.pp +++ b/manifests/utils/storage/archive.pp @@ -1,13 +1,21 @@ class nodo::utils::storage::archive { - package { 'git-annex': + package { [ + 'git-annex', + ]: ensure => latest, } - package { [ 'jigdo-file', 'fdupes', 'gddrescue' ]: + package { [ + 'jigdo-file', + 'fdupes', + 'gddrescue', + ]: ensure => installed, } - package { 'syslinux-utils': + package { [ + 'syslinux-utils', + ]: ensure => $::architecture ? { 'amd64' => present, 'i386' => present, diff --git a/manifests/utils/storage/crypto.pp b/manifests/utils/storage/crypto.pp index a683ff7..0a0d520 100644 --- a/manifests/utils/storage/crypto.pp +++ b/manifests/utils/storage/crypto.pp @@ -1,5 +1,8 @@ class nodo::utils::storage::crypto { - package { [ 'cryptsetup', 'ecryptfs-utils' ]: + package { [ + 'cryptsetup', + 'ecryptfs-utils', + ]: ensure => installed, } } diff --git a/manifests/utils/storage/iso.pp b/manifests/utils/storage/iso.pp index 0492a1d..f271dcd 100644 --- a/manifests/utils/storage/iso.pp +++ b/manifests/utils/storage/iso.pp @@ -1,5 +1,7 @@ class nodo::utils::storage::iso { - package { 'syslinux': + package { [ + 'syslinux', + ]: ensure => $::architecture ? { 'amd64' => present, 'i386' => present, diff --git a/manifests/utils/storage/layer.pp b/manifests/utils/storage/layer.pp index a12b2d2..7951573 100644 --- a/manifests/utils/storage/layer.pp +++ b/manifests/utils/storage/layer.pp @@ -1,7 +1,10 @@ class nodo::utils::storage::layer { include nodo::utils::storage::crypto - package { [ 'mdadm', 'lvm2' ]: + package { [ + 'mdadm', + 'lvm2', + ]: ensure => installed, } } |