diff options
author | Alex Auvolat <alex@adnab.me> | 2024-04-20 10:58:36 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2024-04-20 10:58:36 +0200 |
commit | 972fc4ea7c48db9dc0a2aad52f7966f0e3b26256 (patch) | |
tree | 20f2de98bea4c66a300e5a9f3f30c0c22b75b7cb /deploy_pki | |
parent | 444306aa548bded7d67b95fe02dddeef1d0d347e (diff) | |
download | nixcfg-972fc4ea7c48db9dc0a2aad52f7966f0e3b26256.tar.gz nixcfg-972fc4ea7c48db9dc0a2aad52f7966f0e3b26256.zip |
prod: nixos 23.11 and nomad 1.5
Diffstat (limited to 'deploy_pki')
-rwxr-xr-x | deploy_pki | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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 |