aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/power/tlp.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystem/power/tlp.pp')
-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'],
+ }
+}