aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-05-30 11:01:17 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-05-30 11:01:17 -0300
commit70ef8c84b32bc67be37f616496e0f7af5da3df54 (patch)
tree0406d5360d7ae806cf02eb8bfc5e66678bf9d797 /manifests/subsystem
parent2c75c692751b2b85458ccfd8499dff5129810f87 (diff)
downloadpuppet-nodo-70ef8c84b32bc67be37f616496e0f7af5da3df54.tar.gz
puppet-nodo-70ef8c84b32bc67be37f616496e0f7af5da3df54.tar.bz2
Enhance laptop battery support
Diffstat (limited to 'manifests/subsystem')
-rw-r--r--manifests/subsystem/power/tlp.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/subsystem/power/tlp.pp b/manifests/subsystem/power/tlp.pp
new file mode 100644
index 0000000..1c07d1c
--- /dev/null
+++ b/manifests/subsystem/power/tlp.pp
@@ -0,0 +1,12 @@
+class nodo::subsystem::power::tlp {
+ include nodo::utils::laptop::tlp
+
+ file { '/etc/default/tlp':
+ ensure => present,
+ owner => 'root',
+ group => 'root',
+ mode => '0644',
+ source => 'puppet:///modules/nodo/etc/default/tlp',
+ require => Package['tlp'],
+ }
+}