aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/base/server.pp2
-rw-r--r--manifests/utils/physical.pp4
-rw-r--r--manifests/utils/storage/layer.pp5
3 files changed, 7 insertions, 4 deletions
diff --git a/manifests/base/server.pp b/manifests/base/server.pp
index 93cce4c..2281340 100644
--- a/manifests/base/server.pp
+++ b/manifests/base/server.pp
@@ -2,4 +2,6 @@ class nodo::base::server inherits nodo::base::physical {
class { [ 'nodo::subsystem::fstab', 'nodo::subsystem::crypttab' ]:
type => 'server',
}
+
+ include nodo::utils::storage::layer
}
diff --git a/manifests/utils/physical.pp b/manifests/utils/physical.pp
index a118627..97d0945 100644
--- a/manifests/utils/physical.pp
+++ b/manifests/utils/physical.pp
@@ -4,10 +4,6 @@ class nodo::utils::physical {
ensure => installed,
}
- package { [ 'mdadm', 'cryptsetup', 'lvm2' ]:
- ensure => installed,
- }
-
package { 'acpi':
ensure => $::architecture ? {
'armv5tel' => absent,
diff --git a/manifests/utils/storage/layer.pp b/manifests/utils/storage/layer.pp
new file mode 100644
index 0000000..6db6e2d
--- /dev/null
+++ b/manifests/utils/storage/layer.pp
@@ -0,0 +1,5 @@
+class nodo:utils::storage::layer {
+ package { [ 'mdadm', 'cryptsetup', 'lvm2' ]:
+ ensure => installed,
+ }
+}