diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-24 15:49:41 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-24 15:49:41 -0200 |
commit | 1c2fb29bea38ccf12adf4fe8fd93fef44245eda0 (patch) | |
tree | 4e867f5159b63f432cbff220d4ff004304cbea69 /manifests/laptop.pp | |
parent | 51622c10f922671cb8bcb1cda874f64ea932a462 (diff) | |
download | puppet-nodo-1c2fb29bea38ccf12adf4fe8fd93fef44245eda0.tar.gz puppet-nodo-1c2fb29bea38ccf12adf4fe8fd93fef44245eda0.tar.bz2 |
Making fstab and crypttab management optional
Diffstat (limited to 'manifests/laptop.pp')
-rw-r--r-- | manifests/laptop.pp | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/manifests/laptop.pp b/manifests/laptop.pp index 93376d6..f184801 100644 --- a/manifests/laptop.pp +++ b/manifests/laptop.pp @@ -7,21 +7,15 @@ class nodo::laptop inherits nodo::personal { include firewall::ppp include dhclient - # fstab - if $fstab != false { - class { 'fstab': - type => 'laptop', - } + class { 'fstab': + type => 'laptop', } - # crypttab - if $crypttab != false { - class { 'crypttab': - type => $hibernate ? { - false => "laptop", - default => "laptop.hibernate", - }, - } + class { 'crypttab': + type => $hibernate ? { + false => "laptop", + default => "laptop.hibernate", + }, } # hibernation |