diff options
Diffstat (limited to 'manifests/subsystems')
-rw-r--r-- | manifests/subsystems/utils/physical.pp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/manifests/subsystems/utils/physical.pp b/manifests/subsystems/utils/physical.pp index 62b5351..3fbd28c 100644 --- a/manifests/subsystems/utils/physical.pp +++ b/manifests/subsystems/utils/physical.pp @@ -1,6 +1,13 @@ # Common utilities for physical class utils::physical { - package { [ 'nload', 'acpid', 'acpi', 'slurm', 'ethtool', 'parted', 'iftop', 'iptraf', 'htop', 'sdparm' ]: + package { [ 'nload', 'acpid', 'slurm', 'ethtool', 'parted', 'iftop', 'iptraf', 'htop', 'sdparm' ]: ensure => installed, } + + package { 'acpi': + ensure => $::architecture ? { + 'armv5tel' => absent, + default => present, + } + } } |