From 70ef8c84b32bc67be37f616496e0f7af5da3df54 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 30 May 2017 11:01:17 -0300 Subject: Enhance laptop battery support --- manifests/subsystem/power/tlp.pp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 manifests/subsystem/power/tlp.pp (limited to 'manifests/subsystem/power/tlp.pp') 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'], + } +} -- cgit v1.2.3