]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - manifests/site.pp
Add guard around use of $::hoster, since it comes from our own facts
[dsa-puppet.git] / manifests / site.pp
index e56ca7d112f44be264fb56a366d9d7a78c82bed9..bdbdb2823c16697298dd675d95c7577c995ae77a 100644 (file)
@@ -110,15 +110,17 @@ node default {
                include debian-org::radvd
        }
 
-       if ($::postgres84 or $::postgres90) {
+       if ($::postgres) {
                include postgres
        }
 
-       if $::hostname in [beethoven, berlioz, biber, diabelli, dinis, draghi, geo3, schumann, soler, widor, wolkenstein] {
-               @@bacula::node { $::fqdn: }
-       }
-
        if $::spamd {
                munin::check { 'spamassassin': }
        }
+
+        if $::hoster {
+               if $::hoster in [ynic] {
+                       include lldp
+               }
+       }
 }