diff options
Diffstat (limited to 'habitat/hooks/run')
-rw-r--r-- | habitat/hooks/run | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/habitat/hooks/run b/habitat/hooks/run deleted file mode 100644 index 598d609d7f..0000000000 --- a/habitat/hooks/run +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh -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}}" -else - CLIENT_CONFIG="{{cfg.config_path}}" -fi - -if [[ "${CLIENT_CONFIG##*.}" != "rb" ]]; then - CLIENT_CONFIG=${CLIENT_CONFIG}/client.rb -fi - -exec chef-client --fork -c ${CLIENT_CONFIG} --chef-license {{cfg.chef_license}} |