dotfiles/modules/devices/manifests/laptop.pp

23 lines
365 B
ObjectPascal
Raw Normal View History

2018-03-21 17:03:20 +00:00
class devices::laptop {
package {[
'ethtool',
'smartmontools',
'tlp'
]:
2018-03-21 17:03:20 +00:00
ensure => installed
}
-> service {'tlp':
enable => true
}
2018-04-18 13:32:59 +01:00
-> service {'tlp-sleep':
enable => true
}
2018-03-21 17:03:20 +00:00
file { 'TLP config':
ensure => file,
mode => '0644',
path => '/etc/default/tlp',
source => 'puppet:///modules/devices/tlp.conf'
}
}