From 616d2575015a57407cd0a930b8cd16b0b29aecb6 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 22 Jan 2013 12:56:24 -0200 Subject: Adding fstab and crypttab classes --- manifests/subsystems/fstab.pp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 manifests/subsystems/fstab.pp (limited to 'manifests/subsystems/fstab.pp') diff --git a/manifests/subsystems/fstab.pp b/manifests/subsystems/fstab.pp new file mode 100644 index 0000000..40c8c30 --- /dev/null +++ b/manifests/subsystems/fstab.pp @@ -0,0 +1,12 @@ +class fstab( + $type +) { + file { "/etc/fstab": + source => "puppet:///modules/nodo/etc/fstab/${type}", + owner => "root", + group => "root", + mode => 0644, + ensure => present, + notify => Exec['update-initramfs'], + } +} -- cgit v1.2.3