aboutsummaryrefslogtreecommitdiff
path: root/modules/role/manifests/cryptoportfolio/postgresql.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/role/manifests/cryptoportfolio/postgresql.pp')
-rw-r--r--modules/role/manifests/cryptoportfolio/postgresql.pp11
1 files changed, 10 insertions, 1 deletions
diff --git a/modules/role/manifests/cryptoportfolio/postgresql.pp b/modules/role/manifests/cryptoportfolio/postgresql.pp
index cc4d2a9..38661a8 100644
--- a/modules/role/manifests/cryptoportfolio/postgresql.pp
+++ b/modules/role/manifests/cryptoportfolio/postgresql.pp
@@ -104,13 +104,22 @@ class role::cryptoportfolio::postgresql inherits role::cryptoportfolio {
104 order => "05-01", 104 order => "05-01",
105 } 105 }
106 106
107 postgresql::server::pg_hba_rule { 'allow TCP access to replication user from immae.eu for replication':
108 type => 'hostssl',
109 database => 'replication',
110 user => $pg_user_replication,
111 address => 'immae.eu',
112 auth_method => 'md5',
113 order => "05-01",
114 }
115
107 postgresql::server::pg_hba_rule { 'allow TCP access to replication user from immae.eu': 116 postgresql::server::pg_hba_rule { 'allow TCP access to replication user from immae.eu':
108 type => 'hostssl', 117 type => 'hostssl',
109 database => $pg_db, 118 database => $pg_db,
110 user => $pg_user_replication, 119 user => $pg_user_replication,
111 address => 'immae.eu', 120 address => 'immae.eu',
112 auth_method => 'md5', 121 auth_method => 'md5',
113 order => "05-01", 122 order => "05-02",
114 } 123 }
115 124
116} 125}