aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/utils')
-rw-r--r--manifests/utils/storage/crypto.pp5
-rw-r--r--manifests/utils/storage/layer.pp4
2 files changed, 8 insertions, 1 deletions
diff --git a/manifests/utils/storage/crypto.pp b/manifests/utils/storage/crypto.pp
new file mode 100644
index 0000000..5e1e268
--- /dev/null
+++ b/manifests/utils/storage/crypto.pp
@@ -0,0 +1,5 @@
+class nodo::utils::storage::crypto {
+ package { 'cryptsetup':
+ ensure => installed,
+ }
+}
diff --git a/manifests/utils/storage/layer.pp b/manifests/utils/storage/layer.pp
index 3847cd3..a12b2d2 100644
--- a/manifests/utils/storage/layer.pp
+++ b/manifests/utils/storage/layer.pp
@@ -1,5 +1,7 @@
class nodo::utils::storage::layer {
- package { [ 'mdadm', 'cryptsetup', 'lvm2' ]:
+ include nodo::utils::storage::crypto
+
+ package { [ 'mdadm', 'lvm2' ]:
ensure => installed,
}
}