From d1f84d754c43f208cbf6de593a78d714485022ee Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 29 Mar 2013 11:22:34 -0300 Subject: Package acpi not present on arm --- manifests/subsystems/utils/physical.pp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'manifests/subsystems/utils') 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, + } + } } -- cgit v1.2.3