diff options
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, - }, - } -} |