15 lines
269 B
Puppet
15 lines
269 B
Puppet
class devices::laptop {
|
|
package {'tlp':
|
|
ensure => installed
|
|
}
|
|
-> service {'tlp':
|
|
enable => true
|
|
}
|
|
|
|
file { 'TLP config':
|
|
ensure => file,
|
|
mode => '0644',
|
|
path => '/etc/default/tlp',
|
|
source => 'puppet:///modules/devices/tlp.conf'
|
|
}
|
|
}
|