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

knife node environment set output #8453

SteveDelFante opened this issue May 3, 2019 · 0 comments


None yet
2 participants
Copy link

commented May 3, 2019


knife node environment set output is wrong.

Chef Version

Chef Workstation: 0.2.53
chef-run: 0.2.8
chef-client: 14.10.9
delivery-cli: 0.0.52 (9d07501a3b347cc687c902319d23dc32dd5fa621)
berks: 7.0.7
test-kitchen: 1.24.0
inspec: 3.6.6

Platform Version

MacOS and others

Replication Case

knife node environment set apache_web acceptance

Client Output

  chef_environment: _default```

The output should say ```apache_web:
  chef_environment: acceptance```

but it actually set the node to Acceptance:
```knife node show apache_web
Node Name:   apache_web
Environment: acceptance
FQDN:        ip-172-31-58-128.ec2.internal```

The debug output (chef-client -l debug) may be useful, but please link to a gist, or truncate it. -->

## Stacktrace
<!--- Please include the stacktrace.out output or link to a gist of it, if there is one. -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.