diff options
Diffstat (limited to 'manifests/subsystems/fstab.pp')
-rw-r--r-- | manifests/subsystems/fstab.pp | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/manifests/subsystems/fstab.pp b/manifests/subsystems/fstab.pp index 40c8c30..c6f2ecd 100644 --- a/manifests/subsystems/fstab.pp +++ b/manifests/subsystems/fstab.pp @@ -1,12 +1,15 @@ class fstab( - $type + $type, + $manage = hiera('nodo::fstab::manage', false) ) { - file { "/etc/fstab": - source => "puppet:///modules/nodo/etc/fstab/${type}", - owner => "root", - group => "root", - mode => 0644, - ensure => present, - notify => Exec['update-initramfs'], + if $manage == true { + file { "/etc/fstab": + source => "puppet:///modules/nodo/etc/fstab/${type}", + owner => "root", + group => "root", + mode => 0644, + ensure => present, + notify => Exec['update-initramfs'], + } } } |