aboutsummaryrefslogtreecommitdiff
path: root/deploy_pki
diff options
context:
space:
mode:
Diffstat (limited to 'deploy_pki')
-rwxr-xr-xdeploy_pki3
1 files changed, 0 insertions, 3 deletions
diff --git a/deploy_pki b/deploy_pki
index 1ab2b35..af9e1da 100755
--- a/deploy_pki
+++ b/deploy_pki
@@ -27,9 +27,6 @@ for file in nomad-ca.crt nomad$YEAR.crt nomad$YEAR.key \
do
if pass $PKI/$file >/dev/null; then
write_pass $PKI/$file /var/lib/nomad/pki/$file
- if [ ! "$CLUSTER" = "staging" ]; then
- cmd "chown \$(stat -c %u /var/lib/private/nomad/) /var/lib/nomad/pki/$file"
- fi
fi
done