dotfiles/modules/devices/manifests/laptop.pp

19 lines
315 B
Puppet

class devices::laptop {
package {[
'ethtool',
'smartmontools',
'tlp'
]:
ensure => installed
}
-> service {'tlp':
enable => true
}
file { 'TLP config':
ensure => file,
mode => '0644',
path => '/etc/default/tlp',
source => 'puppet:///modules/devices/tlp.conf'
}
}