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

Command-line options do not take precedence over knife.rb configuration #247

Closed
metafour opened this issue Sep 30, 2014 · 2 comments
Closed

Comments

@metafour
Copy link

I have knife[:identity_file] configured in my knife.rb but when I pass the --identity-file option to knife it still uses the knife.rb setting. I feel like this is standard operating procedure with other command-line utilities that have a configuration file. Is this by design with knife-ec2 or is it a bug?

@muktaa
Copy link

muktaa commented Oct 1, 2014

@metafour - this issue could be reproduced. we are looking at it.
thanks!

@siddheshwar-more
Copy link

@metafour
The actual bug was in chef. We fixed it and changes are merged into chef master. To try:

  1. git clone https:/opscode/chef
  2. cd to chef & gem build chef.gemspec
  3. gem install chef-..*.gem

Thank You!

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

No branches or pull requests

4 participants