chef-boneyard / chef-client

Development repository for Chef Client cookbook
http://supermarket.chef.io/cookbooks/chef-client
Apache License 2.0
176 stars 421 forks source link

Simplify and correct chef-client path determination in cron recipe #715

Closed tas50 closed 4 years ago

tas50 commented 4 years ago

Stop using the find_chef_client helper to search for the chef-client binary and just use the node attribute that defaults to /opt/chef/bin/chef-client Pass the correct binary attribute in the resource. This was causing the path to be set instead.

This should fix https://github.com/chef-cookbooks/chef-client/issues/714

Signed-off-by: Tim Smith tsmith@chef.io