From e324a787b6bd7c4ad8aa2d6de2395f6965b0bdd8 Mon Sep 17 00:00:00 2001 From: Nathan Cerny Date: Tue, 28 May 2019 16:17:31 -0500 Subject: Fix typo in configuration path. Signed-off-by: Nathan Cerny --- habitat/hooks/run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'habitat') 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}} -- cgit v1.2.1