From fe1c86b8f938283e9dd8196a8b11a9648f4b49e6 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 12 Apr 2013 17:09:03 -0300 Subject: Major refactor --- manifests/laptop.pp | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'manifests/laptop.pp') diff --git a/manifests/laptop.pp b/manifests/laptop.pp index a2420f9..1ed77b7 100644 --- a/manifests/laptop.pp +++ b/manifests/laptop.pp @@ -1,17 +1,17 @@ class nodo::laptop inherits nodo::personal { - include utils::laptop + include nodo::utils::laptop + include nodo::subsystem::dhclient include firewall::wifi include firewall::openvpn include firewall::ppp - include dhclient - class { 'fstab': + class { 'nodo::subsystem::fstab': type => 'laptop', } $hibernate = hiera('nodo::laptop::hibernate', false) - class { 'crypttab': + class { 'nodo::subsystem::crypttab': type => $hibernate ? { false => "laptop", default => "laptop.hibernate", @@ -31,9 +31,3 @@ class nodo::laptop inherits nodo::personal { }, } } - -class nodo::laptop::webdev inherits nodo::laptop { - include websites::dev - include database - include utils::web -} -- cgit v1.2.3