aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils/laptop
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/utils/laptop')
-rw-r--r--manifests/utils/laptop/thinkpad/battery.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/utils/laptop/thinkpad/battery.pp b/manifests/utils/laptop/thinkpad/battery.pp
index c8fdb52..c82112c 100644
--- a/manifests/utils/laptop/thinkpad/battery.pp
+++ b/manifests/utils/laptop/thinkpad/battery.pp
@@ -1,16 +1,17 @@
# apci-call or tp-smapi available
class nodo::utils::laptop::thinkpad::battery(
$implementation = 'acpi-call',
+ $ensure = 'installed',
) {
package { [
'tlp',
]:
- ensure => present,
+ ensure => $ensure,
}
package { [
"${implementation}-dkms",
]:
- ensure => present,
+ ensure => $ensure,
}
}