diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-06-27 15:55:00 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-06-27 15:55:00 -0300 |
commit | ef8587359598e3fc211d30d06ba71c751bbec6ce (patch) | |
tree | e4b4f5a7158d3750c08a4eb76a1ac42113476496 /manifests | |
parent | 1f66e43f640ccbf7618d372dd215131dd81e39e1 (diff) | |
download | puppet-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.pp | 2 | ||||
-rw-r--r-- | manifests/utils/physical.pp | 4 | ||||
-rw-r--r-- | manifests/utils/storage/layer.pp | 5 |
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, + } +} |