Skip to content

Commit

Permalink
Fix path to consul
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd-ntrf committed May 13, 2024
1 parent 3bbe6b4 commit 16fec5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/provision/update_etc_puppetlabs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ if [ -f /opt/puppetlabs/puppet/bin/r10k ] && [ /etc/puppetlabs/code/Puppetfile -
fi

if [ -f /usr/local/bin/consul ] && [ -f /usr/bin/jq ]; then
consul event -token=$(sudo jq -r .acl.tokens.agent /etc/consul/config.json) -name=puppet $(date +%s)
/usr/local/bin/consul event -token=$(jq -r .acl.tokens.agent /etc/consul/config.json) -name=puppet $(date +%s)
fi

0 comments on commit 16fec5d

Please sign in to comment.