Skip to content

Commit ff72c19

Browse files
committed
Ensure the consul home directory has execute flags set
This ensures that pgbouncer can read it's databases.ini config file when consul managed In the gitlab docker image this directory is first created by the useradd command prior to running reconfigure, and with our ubuntu 22.04 update this started creating this directory as 0700 Changelog: fixed
1 parent 9b2ea4e commit ff72c19

File tree

1 file changed

+1
-0
lines changed
  • files/gitlab-cookbooks/consul/recipes

1 file changed

+1
-0
lines changed

files/gitlab-cookbooks/consul/recipes/enable.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333

3434
directory node['consul']['dir'] do
3535
owner account_helper.consul_user
36+
mode '0755'
3637
end
3738

3839
directory gitlab_consul_static_etc_dir do

0 commit comments

Comments
 (0)