aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-07-09 20:34:20 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-07-09 20:34:20 -0300
commit088a0c4d412f5b0e33b0c75cb8cf010c0d230daf (patch)
tree9fe8151fed6f47c8d3bb658fcb82112078624fe9 /manifests
parentaa1a97913da036164543b74a22123dc2bfa61407 (diff)
downloadpuppet-nodo-088a0c4d412f5b0e33b0c75cb8cf010c0d230daf.tar.gz
puppet-nodo-088a0c4d412f5b0e33b0c75cb8cf010c0d230daf.tar.bz2
Adding nodo::utils::storage::crypto
Diffstat (limited to 'manifests')
-rw-r--r--manifests/base/host.pp1
-rw-r--r--manifests/utils/storage/crypto.pp5
-rw-r--r--manifests/utils/storage/layer.pp4
3 files changed, 9 insertions, 1 deletions
diff --git a/manifests/base/host.pp b/manifests/base/host.pp
index f9af2e1..c353281 100644
--- a/manifests/base/host.pp
+++ b/manifests/base/host.pp
@@ -6,6 +6,7 @@ class nodo::base::host {
include nodo::subsystem::sysctl
include nodo::subsystem::resolver
include nodo::utils::physical
+ include nodo::utils::storage::crypto
class { 'syslog-ng': }
monkeysphere_host { "${::hostname}": }
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,
}
}