diff options
author | Elliott Davis <edavis@chef.io> | 2017-05-01 16:48:42 -0500 |
---|---|---|
committer | Thom May <thom@chef.io> | 2018-05-02 14:57:37 +0100 |
commit | f60781bbfe16a23078c22dced4ed968fe4e26ec3 (patch) | |
tree | 596e7ab16e5c2eb2c017786c8a585c88976dff42 /habitat/hooks/run | |
parent | 21dcbdd200d69725845f75b6b8bebe1ec950e826 (diff) | |
download | chef-f60781bbfe16a23078c22dced4ed968fe4e26ec3.tar.gz |
Update Habitat plan to correctly build
* Add a few config new settings
Signed-off-by: Elliott Davis <edavis@chef.io>
Diffstat (limited to 'habitat/hooks/run')
-rw-r--r-- | habitat/hooks/run | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/habitat/hooks/run b/habitat/hooks/run index 0f3844dd5f..75dd1958fa 100644 --- a/habitat/hooks/run +++ b/habitat/hooks/run @@ -1,8 +1,6 @@ #!/bin/sh -export GEM_HOME="{{pkg.path}}/ruby/2.3.0" -export GEM_PATH="$(hab pkg path core/ruby)/lib/ruby/gems/2.3.0:$(hab pkg path core/bundler):$GEM_HOME" -export APPBUNDLER_ALLOW_RVM=true - exec 2>&1 -exec chef-solo --fork -i {{cfg.interval}} -s {{cfg.splay}} -l {{cfg.log_level}} -o {{cfg.run_list}} +export SSL_CERT_FILE="{{pkgPathFor "core/cacerts"}}/ssl/cert.pem" + +exec chef-solo --fork -c {{pkg.svc_config_path}}/client.rb |