Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gdavison opened this issue Jun 18, 2020 · 0 comments · May be fixed by #260
Open

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

gdavison opened this issue Jun 18, 2020 · 0 comments · May be fixed by #260

Comments

@gdavison
Copy link

gdavison commented Jun 18, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant