From: Silvio Rhatto Date: Fri, 29 Mar 2013 14:22:34 +0000 (-0300) Subject: Package acpi not present on arm X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=d1f84d754c43f208cbf6de593a78d714485022ee;p=puppet-nodo.git Package acpi not present on arm --- 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, + } + } }