From fb848f271f793af2dcf86001658769a2ca0435c1 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sun, 21 Aug 2011 19:28:34 +0100 Subject: [PATCH] We don't want acpi stuff on bsd boxen Signed-off-by: Stephen Gran --- manifests/site.pp | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) 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 } } + } + } } } } -- 2.20.1