chef-ingredient icon indicating copy to clipboard operation
chef-ingredient copied to clipboard

`chef-automatev2` resource installation guard check fails with Chef Infra 16.1

Open gdavison opened this issue 4 years ago • 0 comments

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

  1. Execute CHEF_VERSION=16.1 kitchen test chef-automatev2-centos-7

This same test with Chef Infra v16.2 has a different error: #259

gdavison avatar Jun 18 '20 06:06 gdavison