projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ca9756
)
allow the backup hosts to access the salsa pg again
author
Peter Palfrader
<peter@palfrader.org>
Sun, 29 Sep 2019 14:24:44 +0000
(16:24 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Sun, 29 Sep 2019 14:24:51 +0000
(16:24 +0200)
modules/salsa/manifests/database.pp
patch
|
blob
|
history
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,
}
-
- include postgres::backup_server::register_backup_clienthost
}