16 lines
269 B
ObjectPascal
16 lines
269 B
ObjectPascal
|
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'
|
||
|
}
|
||
|
}
|