aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/desktop.pp28
1 files changed, 16 insertions, 12 deletions
diff --git a/manifests/desktop.pp b/manifests/desktop.pp
index 25fc874..ddf740f 100644
--- a/manifests/desktop.pp
+++ b/manifests/desktop.pp
@@ -2,20 +2,24 @@ class nodo::desktop inherits nodo::personal {
include utils::desktop
# fstab
- file { "/etc/fstab":
- source => "puppet://$server/modules/nodo/etc/fstab/desktop",
- owner => "root",
- group => "root",
- mode => 0644,
- ensure => present,
+ if $fstab != false {
+ file { "/etc/fstab":
+ source => "puppet://$server/modules/nodo/etc/fstab/desktop",
+ owner => "root",
+ group => "root",
+ mode => 0644,
+ ensure => present,
+ }
}
# crypttab
- file { "/etc/crypttab":
- source => "puppet://$server/modules/nodo/etc/crypttab/desktop",
- owner => "root",
- group => "root",
- mode => 0644,
- ensure => present,
+ if $crypttab != false {
+ file { "/etc/crypttab":
+ source => "puppet://$server/modules/nodo/etc/crypttab/desktop",
+ owner => "root",
+ group => "root",
+ mode => 0644,
+ ensure => present,
+ }
}
}