--- /dev/null
+# /etc/uswsusp.conf(5) -- Configuration file for s2disk/s2both
+resume device = /dev/mapper/cswap
+splash = y
+compress = y
+early writeout = y
+image size = 1763583180
+RSA key file = /etc/uswsusp.key
+shutdown method = platform
},
}
+ 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':
'btscanner', 'laptop-mode-tools', 'acpi-support',
'tftp', 'sharutils', 'wireshark',
'macchanger', 'weplab', 'wpagui',
- 'gnokii', 'sslstrip' ]:
+ 'gnokii', 'sslstrip', 'uswsusp' ]:
ensure => installed,
}