Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Cannot Reproduce
-
Affects Version/s: 0.10.4
-
Fix Version/s: None
-
Component/s: Chef Client
-
Environment:
Ubuntu 10.10
Description
When using knife to boostrap a server, the boostrap_context.rb does not respect the environment that has been set when rendering the client.rb config file. As a result, the environment variable never appears in the client when the node is bootstrapped, causing it to not run within the environment specified via the knife client at runtime.
Issue Links
- relates to
-
CHEF-2614
Unable to set environment on a node during bootstrap
-
I was unable to reproduce this using Chef 0.10.4 and knife-ec2 0.5.8.
Note that the current convention is for the environment to be set from a chef-client command line option rather than via the client.rb.