From 1c2fb29bea38ccf12adf4fe8fd93fef44245eda0 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 24 Jan 2013 15:49:41 -0200 Subject: Making fstab and crypttab management optional --- manifests/laptop.pp | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'manifests/laptop.pp') 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 -- cgit v1.2.3