sharding: Also mark sharding.json 644 for consistency.

There is no reason to limit this to 640; mark it 644 for consistency
with the other file.
This commit is contained in:
Alex Vandiver 2020-09-14 10:57:14 -07:00 committed by Tim Abbott
parent b5bcff04e5
commit bf029d99f1
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ class zulip::tornado_sharding {
require => User['zulip'],
owner => 'zulip',
group => 'zulip',
mode => '0640',
mode => '0644',
content => "{}\n",
replace => false,
}

View File

@ -7,7 +7,7 @@ set -e
chown root:root /etc/zulip/nginx_sharding.conf.tmp
chmod 644 /etc/zulip/nginx_sharding.conf.tmp
chown zulip:zulip /etc/zulip/sharding.json.tmp
chmod 640 /etc/zulip/sharding.json.tmp
chmod 644 /etc/zulip/sharding.json.tmp
mv /etc/zulip/nginx_sharding.conf.tmp /etc/zulip/nginx_sharding.conf
mv /etc/zulip/sharding.json.tmp /etc/zulip/sharding.json