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

Windows_path issue in Chef-Client 11.14.2 #105

Closed
kpei opened this issue Aug 5, 2014 · 7 comments
Closed

Windows_path issue in Chef-Client 11.14.2 #105

kpei opened this issue Aug 5, 2014 · 7 comments

Comments

@kpei
Copy link

kpei commented Aug 5, 2014

Getting an error of "Cannot modify env[PATH] - key does not exist!"

Full paste here http://pastebin.com/ctvVJHrz, anyone else getting the error as well on the new chef? This wasn't happening when i ran it on an older version of Chef-Client (11.12.8 I believe)

@btm
Copy link
Contributor

btm commented Aug 5, 2014

Have you tried the latest version of the windows cookbook yet?

@RobertoSchneiders
Copy link

I'm having the same problem. I tested with 1.34.0 and 1.33.1 versions.

Any workaround?

@RobertoSchneiders
Copy link

I tested with chef-client 11.12.8, works properly.

@kpei
Copy link
Author

kpei commented Aug 5, 2014

Yes I had to revert back to 11.12.8 to get the softwares to deploy

@adamedx
Copy link
Contributor

adamedx commented Aug 6, 2014

This is a simple example that illustrates the bug at chef/chef#1754:

env "envBUG" do
  action :delete
end

env "envbug" do
  action :create
  value 'stuff'
end

env "envBUG" do
  action :modify
  value 'stuff2'
end

@btm
Copy link
Contributor

btm commented Aug 12, 2014

chef/chef#1803 should fix this when released.

btm added a commit that referenced this issue Aug 13, 2014
@smurawski
Copy link
Contributor

Chef 11.14.4 should have had the fix for this issue.

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

No branches or pull requests

5 participants