Commit 2bf889e89a07ae720d183678778acf14a125ed44
1 parent
6c1a4878
Exists in
master
and in
17 other branches
No SUPERUSER privileges for gitlab DB user
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
files/gitlab-cookbooks/gitlab/recipes/postgresql.rb
... | ... | @@ -151,7 +151,7 @@ end |
151 | 151 | sql_user = node['gitlab']['postgresql']['sql_user'] |
152 | 152 | sql_user_passwd = node['gitlab']['postgresql']['sql_password'] |
153 | 153 | |
154 | -execute "#{bin_dir}/psql --port #{pg_port} -d '#{db_name}' -c \"CREATE USER #{sql_user} WITH SUPERUSER ENCRYPTED PASSWORD '#{sql_user_passwd}'\"" do | |
154 | +execute "#{bin_dir}/psql --port #{pg_port} -d '#{db_name}' -c \"CREATE USER #{sql_user} WITH ENCRYPTED PASSWORD '#{sql_user_passwd}'\"" do | |
155 | 155 | cwd chef_db_dir |
156 | 156 | user pg_user |
157 | 157 | notifies :run, "execute[grant #{db_name} privileges]", :immediately | ... | ... |