summaryrefslogtreecommitdiff
path: root/habitat
diff options
context:
space:
mode:
authorNathan Cerny <ncerny@gmail.com>2019-05-28 16:17:31 -0500
committerNathan Cerny <ncerny@gmail.com>2019-05-28 16:17:31 -0500
commite324a787b6bd7c4ad8aa2d6de2395f6965b0bdd8 (patch)
tree40fae8ae671a88fc6af939768c3b5f7a91a64bc1 /habitat
parent9b542ef9a12ea66a769723718711d7dc0267a3f8 (diff)
downloadchef-e324a787b6bd7c4ad8aa2d6de2395f6965b0bdd8.tar.gz
Fix typo in configuration path.
Signed-off-by: Nathan Cerny <ncerny@gmail.com>
Diffstat (limited to 'habitat')
-rw-r--r--habitat/hooks/run4
1 files changed, 2 insertions, 2 deletions
diff --git a/habitat/hooks/run b/habitat/hooks/run
index 5016e612d9..c6e7f64c6e 100644
--- a/habitat/hooks/run
+++ b/habitat/hooks/run
@@ -4,9 +4,9 @@ exec 2>&1
export SSL_CERT_FILE="{{pkgPathFor "core/cacerts"}}/ssl/cert.pem"
if [[ -z "{{cfg.config_path}}" ]]; then
- CLIENT_CONFIG="{{pkg.svc_config_path}}/client.rb"
+ CLIENT_CONFIG="{{pkg.svc_config_path}}"
else
- CLIENT_CONFIG="{{cfg.config_path}}/client.rb"
+ CLIENT_CONFIG="{{cfg.config_path}}"
fi
exec chef-client --fork -c ${CLIENT_CONFIG}/client.rb --chef-license {{cfg.chef_license}}