aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/crypttab.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystems/crypttab.pp')
-rw-r--r--manifests/subsystems/crypttab.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/subsystems/crypttab.pp b/manifests/subsystems/crypttab.pp
new file mode 100644
index 0000000..6447005
--- /dev/null
+++ b/manifests/subsystems/crypttab.pp
@@ -0,0 +1,12 @@
+class crypttab(
+ $type
+) {
+ file { "/etc/crypttab":
+ source => "puppet:///modules/nodo/etc/crypttab/${type}",
+ owner => "root",
+ group => "root",
+ mode => 0644,
+ ensure => present,
+ notify => Exec['update-initramfs'],
+ }
+}