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:
cc5319b
)
buildd/udd: do guest access earlier
author
Peter Palfrader
<peter@palfrader.org>
Mon, 30 Sep 2019 06:04:05 +0000
(08:04 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Mon, 30 Sep 2019 06:04:05 +0000
(08:04 +0200)
modules/postgres/manifests/cluster/hba_entry.pp
patch
|
blob
|
history
modules/roles/manifests/buildd_master/db_guest_access.pp
patch
|
blob
|
history
modules/roles/manifests/udd/db_guest_access.pp
patch
|
blob
|
history
diff --git
a/modules/postgres/manifests/cluster/hba_entry.pp
b/modules/postgres/manifests/cluster/hba_entry.pp
index
8294ffa
..
6a7f7dc
100644
(file)
--- a/
modules/postgres/manifests/cluster/hba_entry.pp
+++ b/
modules/postgres/manifests/cluster/hba_entry.pp
@@
-6,6
+6,9
@@
# See the upstream documentation at https://www.postgresql.org/docs/11/auth-pg-hba-conf.html
# for details.
#
+# Default order is 50, postgres::cluster puts the md5 localhost rules at 30,
+# so guest/trust access should probably go at 25.
+#
# @param pg_port port of the postgres cluster
# @param pg_cluster cluster name
# @param pg_version pg version of the cluster
diff --git
a/modules/roles/manifests/buildd_master/db_guest_access.pp
b/modules/roles/manifests/buildd_master/db_guest_access.pp
index
bacd7db
..
f2c24a4
100644
(file)
--- a/
modules/roles/manifests/buildd_master/db_guest_access.pp
+++ b/
modules/roles/manifests/buildd_master/db_guest_access.pp
@@
-17,6
+17,6
@@
class roles::buildd_master::db_guest_access (
user => 'guest',
address => $address,
method => 'trust',
- order => '
30
',
+ order => '
25
',
}
}
diff --git
a/modules/roles/manifests/udd/db_guest_access.pp
b/modules/roles/manifests/udd/db_guest_access.pp
index
38af91e
..
773b5d7
100644
(file)
--- a/
modules/roles/manifests/udd/db_guest_access.pp
+++ b/
modules/roles/manifests/udd/db_guest_access.pp
@@
-17,6
+17,6
@@
class roles::udd::db_guest_access (
user => 'guest',
address => $address,
method => 'trust',
- order => '
30
',
+ order => '
25
',
}
}