From ef8587359598e3fc211d30d06ba71c751bbec6ce Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 27 Jun 2013 15:55:00 -0300 Subject: Adding storage layer packages (raid, lvm, cryptsetup) into nodo::utils::storage::layer --- manifests/base/server.pp | 2 ++ manifests/utils/physical.pp | 4 ---- manifests/utils/storage/layer.pp | 5 +++++ 3 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 manifests/utils/storage/layer.pp 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, + } +} -- cgit v1.2.3