Note that exim contains tracker-specific configuration
[mirror/dsa-puppet.git] / modules / salsa / manifests / database.pp
index ba3d173..32a53a7 100644 (file)
@@ -18,10 +18,6 @@ class salsa::database inherits salsa {
                require => Class['postgresql::server::contrib'],
        }
 
-
-
-       include postgres::backup_source
-
        $pg_config_options = {
                'track_counts'  => 'yes',
                'archive_mode' => 'yes',
@@ -41,6 +37,11 @@ class salsa::database inherits salsa {
                }
        }
 
+       ferm::rule::simple { "pgport":
+               description => "check access to pg port",
+               port        => $postgresql::params::port,
+               target      => "pg-${postgresql::params::port}",
+       }
        postgres::backup_cluster { $::hostname:
                pg_version => $postgresql::params::version,
                pg_port => $postgresql::params::port,