Protect /etc/salt/grains

Make sure that the permissions of /etc/salt/grains only allow access for the
root user.
This commit is contained in:
Jan Dittberner 2016-09-25 17:27:42 +02:00
parent 2d347e6e96
commit cab9e9701b
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ pillar_roots:
log_file: file:///dev/log
EOF
umask 077
cat >/etc/salt/grains <<EOF
roles:
- ldapserver