aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils/storage
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/utils/storage')
-rw-r--r--manifests/utils/storage/archive.pp14
-rw-r--r--manifests/utils/storage/crypto.pp5
-rw-r--r--manifests/utils/storage/iso.pp4
-rw-r--r--manifests/utils/storage/layer.pp5
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,
}
}