summaryrefslogtreecommitdiff
path: root/habitat/hooks/run
diff options
context:
space:
mode:
Diffstat (limited to 'habitat/hooks/run')
-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}}