remove postgres things if we do not have postgresql
[mirror/dsa-puppet.git] / manifests / site.pp
index 28a443c..8e72e7d 100644 (file)
@@ -40,6 +40,9 @@ node default {
        include grub
        include multipath
        include popcon
+       include portforwarder
+       include postgres
+
        if $::lsbdistcodename == squeeze {
                include roles::udldap::client
        } else {
@@ -104,10 +107,6 @@ node default {
                include hosts
        }
 
-       if $::portforwarder_user_exists {
-               include portforwarder
-       }
-
        if $::samhain {
                include samhain
        }
@@ -116,10 +115,6 @@ node default {
                include debian_org::radvd
        }
 
-       if ($::postgres) {
-               include postgres
-       }
-
        if $::spamd {
                munin::check { 'spamassassin': }
        }