summaryrefslogtreecommitdiff
path: root/lib/chef/application/knife.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #7390 from coderanger/yet-more-credsLamont Granquist2018-07-031-0/+1
|\ | | | | knife config and a bunch of UX improvements
| * Merge branch 'master' into yet-more-credsNoah Kantrowitz2018-07-021-77/+77
| |\ | | | | | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
| * | Add support for a $CHEF_HOME environment variable and improve support for ↵Noah Kantrowitz2018-06-231-0/+1
| | | | | | | | | | | | | | | | | | the existing $KNIFE_HOME. Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* | | fix Style/MutableConstantLamont Granquist2018-07-021-1/+1
| |/ |/| | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | fix Style/HashSyntaxLamont Granquist2018-07-021-77/+77
|/ | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Specify a profile on the command lineThom May2017-12-181-0/+4
| | | | Signed-off-by: Thom May <thom@chef.io>
* Change the default listen mode to false.Noah Kantrowitz2017-05-251-1/+1
| | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* fix specs: RedundantReturn, RedundantSelf, RedundantBeginLamont Granquist2017-02-131-2/+2
| | | | | | department of redundancy department Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* First pass on --config-option handling.Noah Kantrowitz2016-06-211-0/+8
|
* fix alignmentlcg/bump-rubocopLamont Granquist2016-02-121-1/+1
|
* pull rubocop 0.37.2 into chefstyleLamont Granquist2016-02-121-2/+2
| | | | | this is from the same ruleset that we had, but the new code catches more conditions.
* auto fixing some rubocopsLamont Granquist2016-02-091-1/+1
| | | | | | | | | Style/NegatedWhile Style/ParenthesesAroundCondition Style/WhileUntilDo Style/WordArray Performance/ReverseEach Style/ColonMethodCall
* autofixing whitespace copsLamont Granquist2016-02-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | 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
* Merge pull request #4481 from chef/jdm/fips-58Jay Mundrawala2016-02-031-0/+6
|\ | | | | Allow use of command line fips switch for knife
| * Allow use of command line fips switch for knifeJay Mundrawala2016-01-281-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | This somewhat worked before. However, it was just for knife bootstrap. It also didn't support --no-fips in the case where it was in your knife.rb and you decided that you didn't want to use fips for that one call. The assumption here is fips mode you run knife with is the fips mode the node will get. This has the nice property that validatorless bootstraps will talk to the chef server in fips mode if the node is requested to be in fips mode.
* | Some more author domain stragglers.Noah Kantrowitz2016-02-021-1/+1
| |
* | 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-9/+9
| | | | | | | 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.
* Ensuring running Help returns an exit code of 0Patrick Walker2016-01-111-1/+1
|
* Windows cli tools should have color true by defaultadamedx/windows-color-defaultsAdam Edwards2015-10-061-2/+2
|
* Add --no-listen option to disable zero binding to portdanielsdeleo2015-04-011-1/+5
|
* Remove 1.8 and 1.9 specific monkey patchesdanielsdeleo2014-11-261-1/+0
|
* typo fixes - https://github.com/vlajos/misspell_fixerVeres Lajos2014-11-081-1/+1
|
* Support --chef-zero-port=A-B,C,D-E syntax for finding portsJohn Keiser2014-07-071-1/+1
|
* Merge pull request #1130 from philsturgeon/masterClaire McQuin2014-06-091-1/+1
|\ | | | | CHEF-4778: Doc fix to highlight that -E is not respected by knife ssh [search]
| * Doc fix to highlight that -E is not respected by knife ssh [search]Phil Sturgeon2014-05-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | I noticed this when my production server host names were being listed in Chef activity after switching to a new deployment tactic. For example, it's fairly safe to assume that the command below will only run on staging: $ knife ssh -E stag "role:api" "foo" Actually it runs on ANY node with role:api, which is not only unexpected but ludicrously dangerous in the case of deployments. You can do this: $ knife ssh "chef_environment:stag AND role:api" "foo" I did that after doing an emergency rollback. I'd like this documentation change to be done to avoid that happening to others. Happy to change wording of course.
* | making the chef-zero host configurable for knife and chef-clientLuke Amdor2014-06-051-0/+4
|/
* Force knife to load http monkey patchesdanielsdeleo2013-11-191-0/+2
|
* Rename -. to -zJohn Keiser2013-10-101-1/+1
|
* Make --local-mode option so that local user can run local recipesJohn Keiser2013-10-091-4/+4
|
* Add -z and --chef-zero-port options to knife and chef-clientJohn Keiser2013-10-021-0/+10
|
* Make --[no-]color description more conciseadamedx2013-05-131-1/+1
|
* rephrase messages related to colored output options change.kaustubh-d2013-05-131-1/+1
|
* colored output should be disabled by default on windowskaustubh-d2013-05-131-2/+2
|
* [OC-3564] move core Chef to the repo root \o/ \m/Seth Chisamore2012-10-301-0/+183
The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo!