dotfiles/modules/devices/manifests/laptop.pp
2018-09-06 09:21:29 +01:00

22 lines
365 B
Puppet

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