# apci-call or tp-smapi available class nodo::utils::laptop::thinkpad::battery( $implementation = 'acpi-call', ) { package { [ 'tlp', ]: ensure => present, } package { [ "${implementation}-dkms", ]: ensure => present, } }