From: Stephen Gran Date: Sun, 21 Aug 2011 18:28:34 +0000 (+0100) Subject: We don't want acpi stuff on bsd boxen X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=fb848f271f793af2dcf86001658769a2ca0435c1;p=mirror%2Fdsa-puppet.git We don't want acpi stuff on bsd boxen Signed-off-by: Stephen Gran --- diff --git a/manifests/site.pp b/manifests/site.pp index 6c9ecc032..228c9af92 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -39,10 +39,16 @@ node default { "true": { include debian-proliant } } case $kvmdomain { - "true": { - package { acpid: ensure => installed } - case getfromhash($nodeinfo, 'squeeze') { - true: { package { acpi-support-base: ensure => installed } } + case $debarchitecture { + kfreebsd-amd64,kfreebsd-i386: { + } + default: { + "true": { + package { acpid: ensure => installed } + case getfromhash($nodeinfo, 'squeeze') { + true: { package { acpi-support-base: ensure => installed } } + } + } } } }