Add powertop and related manual service

This commit is contained in:
Jake Howard 2018-03-14 10:44:54 +00:00
parent 957852471c
commit a6de58ff16
Signed by: jake
GPG Key ID: 57AFB45680EDD477
3 changed files with 18 additions and 0 deletions

View File

@ -89,6 +89,7 @@ node default {
'playerctl',
'postgresql',
'postman-bin',
'powertop',
'psensor',
'pulseaudio-bluetooth-a2dp-gdm-fix',
'pyenv',

View File

@ -0,0 +1,9 @@
[Unit]
Description=Powertop tunings
[Service]
ExecStart=/usr/bin/powertop --auto-tune
RemainAfterExit=true
[Install]
WantedBy=multi-user.target

View File

@ -43,4 +43,12 @@ class i3::autostart {
owner => 'jake',
source => '/usr/share/applications/libinput-gestures.desktop'
}
file {'Install powertop service':
ensure => link,
path => '/etc/systemd/system/powertop.service',
mode => '0644',
owner => 'root',
source => 'puppet:///modules/i3/powertop.service'
}
}