aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-06-27 15:55:00 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-06-27 15:55:00 -0300
commitef8587359598e3fc211d30d06ba71c751bbec6ce (patch)
treee4b4f5a7158d3750c08a4eb76a1ac42113476496 /manifests
parent1f66e43f640ccbf7618d372dd215131dd81e39e1 (diff)
downloadpuppet-nodo-ef8587359598e3fc211d30d06ba71c751bbec6ce.tar.gz
puppet-nodo-ef8587359598e3fc211d30d06ba71c751bbec6ce.tar.bz2
Adding storage layer packages (raid, lvm, cryptsetup) into nodo::utils::storage::layer
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,
+ }
+}