diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-04-13 16:32:23 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-04-13 16:32:23 -0300 |
commit | 3ae6096fd3108d7edc1f1a98dbb6b11ba6d1fbd3 (patch) | |
tree | b6b84c36610fd2fc1e6a8f6ac7f87b5d132b2c4d /manifests/laptop.pp | |
parent | e55f3c60b30042a72d722f21b0c6133faaa78a43 (diff) | |
download | puppet-nodo-3ae6096fd3108d7edc1f1a98dbb6b11ba6d1fbd3.tar.gz puppet-nodo-3ae6096fd3108d7edc1f1a98dbb6b11ba6d1fbd3.tar.bz2 |
Renaming base classes
Diffstat (limited to 'manifests/laptop.pp')
-rw-r--r-- | manifests/laptop.pp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/manifests/laptop.pp b/manifests/laptop.pp deleted file mode 100644 index 1ed77b7..0000000 --- a/manifests/laptop.pp +++ /dev/null @@ -1,33 +0,0 @@ -class nodo::laptop inherits nodo::personal { - include nodo::utils::laptop - include nodo::subsystem::dhclient - include firewall::wifi - include firewall::openvpn - include firewall::ppp - - class { 'nodo::subsystem::fstab': - type => 'laptop', - } - - $hibernate = hiera('nodo::laptop::hibernate', false) - - class { 'nodo::subsystem::crypttab': - type => $hibernate ? { - false => "laptop", - default => "laptop.hibernate", - }, - } - - # Hibernation - file { "/etc/initramfs-tools/conf.d/resume": - owner => "root", - group => "root", - mode => 0644, - content => "RESUME=/dev/mapper/cswap\n", - notify => Exec['update-initramfs'], - ensure => $hibernate ? { - false => absent, - default => present, - }, - } -} |