]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
work around the missing python-psutil on kfreebsd
authorMartin Zobel-Helas <zobel@debian.org>
Sat, 25 May 2013 11:10:23 +0000 (13:10 +0200)
committerMartin Zobel-Helas <zobel@debian.org>
Sat, 25 May 2013 11:11:05 +0000 (13:11 +0200)
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
modules/buildd/manifests/init.pp

index 2f30b82156f2c888346742caeeee8da87e3a8c2d..e0a5ad838201be4f9fdd3f8ee2da546840183581 100644 (file)
@@ -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,
                }