aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-03-29 11:22:34 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-03-29 11:22:34 -0300
commitd1f84d754c43f208cbf6de593a78d714485022ee (patch)
tree9cbc1b0b156e61187c327094edd913e5670c9290
parente9f6c42c98b99023f3469125d2745615f83289dd (diff)
downloadpuppet-nodo-d1f84d754c43f208cbf6de593a78d714485022ee.tar.gz
puppet-nodo-d1f84d754c43f208cbf6de593a78d714485022ee.tar.bz2
Package acpi not present on arm
-rw-r--r--manifests/subsystems/utils/physical.pp9
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,
+ }
+ }
}