chef-ingredient
chef-ingredient copied to clipboard
`chef-automatev2` resource installation guard check fails with Chef Infra 16.1
When installing Chef Automate v2 with this cookbook, the guard check for the deployment step fails with
================================================================================
Error executing action `run` on resource 'execute[/usr/local/bin/chef-automate deploy /tmp/kitchen/cache/config.toml --accept-terms-and-mlsa]'
================================================================================
Errno::ENOENT
-------------
execute[Guard resource] (dynamically defined) had an error: Errno::ENOENT: No such file or directory - chef-automate
In all other invocations of chef-automate
the full path is supplied, but it is not in the guard.
Steps to Reproduce
- Execute
CHEF_VERSION=16.1 kitchen test chef-automatev2-centos-7
This same test with Chef Infra v16.2 has a different error: #259