dotfiles/modules/devices/manifests/laptop.pp

20 lines
315 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
}
file { 'TLP config':
ensure => file,
mode => '0644',
path => '/etc/default/tlp',
source => 'puppet:///modules/devices/tlp.conf'
}
}