From: Martin Zobel-Helas Date: Sat, 25 May 2013 11:10:23 +0000 (+0200) Subject: work around the missing python-psutil on kfreebsd X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=d2eee596860e1342e23cb3f48a92f4e6af20a838;p=mirror%2Fdsa-puppet.git work around the missing python-psutil on kfreebsd Signed-off-by: Martin Zobel-Helas --- diff --git a/modules/buildd/manifests/init.pp b/modules/buildd/manifests/init.pp index 2f30b8215..e0a5ad838 100644 --- a/modules/buildd/manifests/init.pp +++ b/modules/buildd/manifests/init.pp @@ -81,7 +81,7 @@ class buildd ($ensure=present) { require => Package['debian.org'] } - if $::lsbmajdistrelease >= 7 { + if ($::lsbmajdistrelease >= 7 and $::kernel == 'Linux') { package { 'python-psutil': ensure => installed, }