-
Notifications
You must be signed in to change notification settings - Fork 14
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-run doesn't install chef-client & run the specified resource/recipe in the same run. #76
Comments
Hey guys, Any updates on this? I can confirm that the problem still exists. Descriptionwhen I'm running
Chef Workstation Versionchef --version Platform VersionRunning from macOS 10.14 and my target is Windows 10 Pro. |
@ericcalabretta and @pkleanthous Thanks for the report. This definitely isn't desired or intended behavior we'll take a look (probably after chef conf). I'm also going to mov this issue to the chef-apply repo. |
@jonsmorrow chef-apply is the new repo for the "chef-run" commands? I thought chef-apply was an older unrelated function to chef-run. |
@ericcalabretta yes there was an rfc discussion to take over the chef-apply command space for this. I think that may be revisited, but for now the repo name was created to match that decision with the intent to change the command before 1.0. It's very confusing right now. |
Makes total sense, It'd be great to improve the UX before 1.0. |
With current chef-run v0.4.6 an example from documentation:
works for me. The directory is created on the first run. |
@grv87 Was chef-client already installed on the box or did that same |
Description
When initially using chef-run to install chef-client & run a resource or recipe only chef-client is installed. The resource or recipe is not ran.
chef-run appears to work, but "test.txt" is not created:
If I log into the system the file is not there, and InSpec also shows no file:
If I execute the same chef-run command again, the file is successfully created on the second attempt.
The same behavior happens for both individual resources and recipes. I have not attempted using a cookbook.
Chef Workstation Version
chef-run: 0.2.4
Platform Version
From MacOS 12.14.3 to a Windows 2016 machine
The text was updated successfully, but these errors were encountered: