I have this node I want to change from my "preproduction" to "production" chef environment.If I edit the node in the Web UI, when I submit the form it says that my node is in the correct environment. But if I recheck the node list or refresh the node list, it still says "preproduction".If I use knife like this:knife exec -E 'nodes.transform("name:my-node-name-in-chef") { |n| n.chef_environment("production") }'and then do aknife node show my-node-name-in-chefIt still say "preproduction" too... except that odd time when it DID said production, as expected... but got back to "preproduction" on next call to knife node show.
Archive powered by MHonArc 2.6.16.