projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
allow the backup hosts to access the salsa pg again
[mirror/dsa-puppet.git]
/
modules
/
salsa
/
manifests
/
database.pp
diff --git
a/modules/salsa/manifests/database.pp
b/modules/salsa/manifests/database.pp
index
24647a3
..
32a53a7
100644
(file)
--- a/
modules/salsa/manifests/database.pp
+++ b/
modules/salsa/manifests/database.pp
@@
-37,14
+37,15
@@
class salsa::database inherits salsa {
}
}
}
}
- include postgres::backup_source
-
+ 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,
do_role => true,
do_hba => true,
}
postgres::backup_cluster { $::hostname:
pg_version => $postgresql::params::version,
pg_port => $postgresql::params::port,
do_role => true,
do_hba => true,
}
-
- include postgres::backup_server::register_backup_clienthost
}
}