diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-05-15 14:54:17 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-05-15 14:54:17 -0300 |
commit | fc4c2170321d412357501b14431840a74791b152 (patch) | |
tree | f57e5beffb6c9c52c687e2dbcc05240f28383a30 /manifests/base | |
parent | fdaaf4c2ffe21c348ea58d3ca8886b665abb569c (diff) | |
download | puppet-nodo-fc4c2170321d412357501b14431840a74791b152.tar.gz puppet-nodo-fc4c2170321d412357501b14431840a74791b152.tar.bz2 |
Adding back hibernation support
Diffstat (limited to 'manifests/base')
-rw-r--r-- | manifests/base/laptop.pp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/base/laptop.pp b/manifests/base/laptop.pp index 4e07e80..3074787 100644 --- a/manifests/base/laptop.pp +++ b/manifests/base/laptop.pp @@ -31,6 +31,18 @@ class nodo::base::laptop inherits nodo::base::personal { }, } + file { "/etc/uswsusp.conf": + owner => "root", + group => "root", + mode => 0644, + source => 'puppet:///modules/nodo/etc/uswsusp.conf', + require => package['uswsusp'], + ensure => $hibernate ? { + false => absent, + default => present, + }, + } + # Avoid this annoying warning # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673818 file { '/etc/laptop-mode/conf.d/board-specific': |