summaryrefslogtreecommitdiff
path: root/lib/chef/knife/configure.rb
Commit message (Collapse)AuthorAgeFilesLines
* Modify `knife configure` example `chef_server_url`Jerry Aldrich III2016-12-011-1/+1
| | | | | | | A working `knife.rb` needs `chef_server_url` to contain `organizations` in it's url. Signed-off-by: Jerry Aldrich III <jerry@chef.io>
* What's with all the exclamation pointsTim Smith2016-03-051-2/+2
| | | | We use these in odd places and not consistently. It's like knife is yelling at me when I mess up or it's really excited I updated a node (but not environments for some reason)
* convert MultilineOperationIndentation style to "indented"Lamont Granquist2016-02-121-1/+1
| | | | this looks nicer.
* autofixing whitespace copsLamont Granquist2016-02-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | 4174 Style/SpaceInsideHashLiteralBraces 1860 Style/SpaceAroundOperators 1336 Style/SpaceInsideBlockBraces 1292 Style/AlignHash 997 Style/SpaceAfterComma 860 Style/SpaceAroundEqualsInParameterDefault 310 Style/EmptyLines 294 Style/IndentationConsistency 267 Style/TrailingWhitespace 238 Style/ExtraSpacing 212 Style/SpaceBeforeBlockBraces 166 Style/MultilineOperationIndentation 144 Style/TrailingBlankLines 120 Style/EmptyLineBetweenDefs 101 Style/IndentationWidth 82 Style/SpaceAroundBlockParameters 40 Style/EmptyLinesAroundMethodBody 29 Style/EmptyLinesAroundAccessModifier 1 Style/RescueEnsureAlignment
* Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-021-1/+1
| | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/gi"
* Replace all Opscode copyrights with Chef Software.Noah Kantrowitz2016-02-021-1/+1
| | | Created via git ls-files | xargs perl -pi -e "s/(Copyright.*?), Opscode(,)? Inc(\.)?/\\1, Chef Software Inc./gi"
* Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-021-1/+1
| | | Generated via git ls-files | xargs perl -pi -e "s/[Cc]opyright (?:\([Cc]\) )?((?\!$(date +%Y))\\d{4})(-\\d{4})?([, ][ \d]+)*(,|(?= ))/Copyright \\1-$(date +%Y),/g"
* Use double quotes by defaultThom May2016-01-141-10/+10
| | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing.
* CHEF-5211: fix configure hostname guessingLamont Granquist2014-04-231-1/+1
| | | | | | ohai[:fqdn] depends on DNS and may be nil. change the algorithm to use the hostnaome of the machine as a fallback using the same algorithm that Chef::Client uses for guessing the node_name of a host.
* [CHEF-5211] Adding load_plugins call to ensure oha plugins are loaded before ↵Michael Goetz2014-04-221-0/+1
| | | | requiring them
* make descriptions same as chef-docsjamescott2014-01-141-6/+6
|
* remove redundant wordsjamescott2013-10-141-1/+1
|
* [CHEF-4176] update `knife configure -i` for Chef 11danielsdeleo2013-05-131-3/+3
| | | | | | | | * Chef 11 defaults to HTTPS on 443 * Chef 11 admin key is in /etc/chef-server/admin.pem * Chef 11 validator key is in /etc/chef-server/chef-validator.pem Ref: http://www.opscode.com/blog/2013/03/11/chef-11-server-up-and-running/
* Update knife-configure to create user rather than client.Steven Danna2013-02-061-13/+16
| | | | | | | | Chef 11 now has users as a first-class, authenticatable actors. knife configure -i now creates a user rather than a client.
* [CHEF-3715] rm moneta's config optionsdanielsdeleo2012-12-211-2/+1
| | | | | | Cache for syntax check is configured by syntax_check_cache_path. For compatibility, the old moneta-specific cache_options[:path] will be used when syntax_check_cache_path is not set (defaults to nil)
* [OC-3564] move core Chef to the repo root \o/ \m/Seth Chisamore2012-10-301-0/+168
The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo!