aboutsummaryrefslogtreecommitdiff
path: root/deploy_pki
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-04-20 10:58:36 +0200
committerAlex Auvolat <alex@adnab.me>2024-04-20 10:58:36 +0200
commit972fc4ea7c48db9dc0a2aad52f7966f0e3b26256 (patch)
tree20f2de98bea4c66a300e5a9f3f30c0c22b75b7cb /deploy_pki
parent444306aa548bded7d67b95fe02dddeef1d0d347e (diff)
downloadnixcfg-972fc4ea7c48db9dc0a2aad52f7966f0e3b26256.tar.gz
nixcfg-972fc4ea7c48db9dc0a2aad52f7966f0e3b26256.zip
prod: nixos 23.11 and nomad 1.5
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