diff options
Diffstat (limited to 'manifests/utils/laptop')
-rw-r--r-- | manifests/utils/laptop/thinkpad/battery.pp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/utils/laptop/thinkpad/battery.pp b/manifests/utils/laptop/thinkpad/battery.pp new file mode 100644 index 0000000..9073f04 --- /dev/null +++ b/manifests/utils/laptop/thinkpad/battery.pp @@ -0,0 +1,12 @@ +# apci-call or tp-smapi available +class nodo::utils::laptop::thinkpad::battery( + $implementation = 'acpi-call', +) { + package { 'tlp': + ensure => present, + } + + package { "${implementation}-dkms": + ensure => present, + } +} |