Skip to content

metal command seems to not use .chef/knife.rb. #70

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

Closed
rberger opened this issue Jun 2, 2014 · 5 comments
Closed

metal command seems to not use .chef/knife.rb. #70

rberger opened this issue Jun 2, 2014 · 5 comments
Assignees
Labels
Type: Bug Doesn't work as expected.
Milestone

Comments

@rberger
Copy link

rberger commented Jun 2, 2014

The metal cli command doesn't seem to use the configuration info in .chef/knife.rb. Seems to always use chef-zero even if I pass in the chef server url with -S. And it doesn't seem to pick up any other parameters from .chef/knife.rb

@jkeiser jkeiser added the bug label Jun 2, 2014
@hntd187
Copy link

hntd187 commented Jun 9, 2014

@rberger I've been loading my knife config manually into recipes to get around this, it seems to spin up a chef zero server whether you want it or not, which is definitely a bug if you provide a chef server details to metal.

@jkeiser
Copy link
Contributor

jkeiser commented Jun 9, 2014

The command line definitely needs some work (I removed it from the readme
due to this and plan to add it back in 0.12). I'm a little surprised it
takes nothing from .chef/knife.rb, though.

On Mon, Jun 9, 2014 at 7:30 AM, hntd187 [email protected] wrote:

@rberger https://github.com/rberger I've been loading my knife config
manually into recipes to get around this, it seems to spin up a chef zero
server whether you want it or not, which is definitely a bug if you provide
a chef server details to metal.


Reply to this email directly or view it on GitHub
#70 (comment).

@jkeiser jkeiser modified the milestones: Later, 1.0 Aug 19, 2014
@jkeiser jkeiser self-assigned this Sep 4, 2014
@jkeiser jkeiser modified the milestones: Later, 1.0 Nov 6, 2014
@randomcamel
Copy link
Contributor

@rberger There have been quite a lot of changes in all the relevant repos since this was filed: is it still an issue?

@rberger
Copy link
Author

rberger commented Jul 21, 2015

Heh, not sure. I've been explicitly specifying .chef/knife.rb on the chef-provisioning command line. If John thinks its fixed, its probably fixed.

@tyler-ball
Copy link
Contributor

I'm going to close this since we don't support the metal CLI anymore, and running chef-client has been picking up my local .chef/knife.rb file recently

@tas50 tas50 added Type: Bug Doesn't work as expected. and removed Bug labels Jul 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Doesn't work as expected.
Development

No branches or pull requests

6 participants