]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/buildd/manifests/init.pp
work around the missing python-psutil on kfreebsd
[dsa-puppet.git] / modules / buildd / manifests / init.pp
index da13c77c6dc066b2b6f67ca6c4b4c18d7dd76b1d..e0a5ad838201be4f9fdd3f8ee2da546840183581 100644 (file)
@@ -48,7 +48,7 @@ class buildd ($ensure=present) {
 
        site::aptrepo { 'buildd.debian.org-proposed':
                ensure     => $::hostname ? {
-                                            /^(alkman|porpora|zandonai)$/ => 'present',
+                                            /^(alkman|barber|brahms|porpora|zandonai)$/ => 'present',
                                             default => 'absent',
                                            },
                url        => 'https://buildd.debian.org/apt/',
@@ -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,
                }