summaryrefslogtreecommitdiff
path: root/spec/unit/knife
Commit message (Collapse)AuthorAgeFilesLines
* unit test for secret file discoveryKirill Shirinkin2014-09-101-1/+14
|
* Extract Knife config file find/load to a reusable componentdanielsdeleo2014-09-031-135/+0
|
* Use existing Chef::Config values for verify_api_cert and ssl_verify_mode ↵Serdar Sutay2014-08-262-41/+57
| | | | during bootstrap.
* Add --ssl-verify-mode and --[no-]verify-api-cert options.Claire McQuin2014-08-262-0/+80
|
* Fixes based on PR comments.Serdar Sutay2014-08-261-4/+11
|
* Specs for bootstrap cleanup.Serdar Sutay2014-08-261-168/+277
|
* Remove encrypted_data_bag_secret distribution via Chef::Config and enable ↵Serdar Sutay2014-08-262-30/+0
| | | | distributing it via knife[:secret] and knife[:secret_file].
* Deprecate --distro and --template-file options in favor of --template.Serdar Sutay2014-08-261-6/+4
|
* Remove the bootstrap templates that does chef install via gems.Serdar Sutay2014-08-261-22/+0
|
* Updates spec for supermarketChristopher Webber2014-08-202-4/+4
|
* fix specs broken due to JSON monkeypatching issuesLamont Granquist2014-08-111-1/+1
| | | | yajl/ffi-yajl vs JSON whitespace issues
* Merge pull request #1786 from opscode/lcg/json-pretty-printlamont-granquist2014-08-114-34/+129
|\ | | | | add json pretty print tests to some knife show commands
| * add json pretty print tests to some knife show commandsLamont Granquist2014-08-094-34/+129
| |
* | Fix expected format of JSON errors in integration testsdanielsdeleo2014-08-101-2/+0
| | | | | | | | | | | | | | | | The format was previously not stable because chef-zero (or other test code) would `require 'json'` and undo ffi-yajl's monkey patches to the JSON gem. We would probably be better off if we can get out of the business of monkeypatching JSON or attempting to provide compatibility at all, in which case this commit could be reverted.
* | Merge pull request #1667 from parabuzzle/fix_force_flagClaire McQuin2014-08-071-4/+4
|\ \ | |/ |/| [CHEF-1652] Fix force flag
| * update spec output to reflect correct flagMike Heijmans2014-07-191-4/+4
| |
* | Remove unused argument to CookbookUploader#initializedanielsdeleo2014-07-302-4/+5
| |
* | Update tests for CHEF-4760 change.Chris Jerdonek2014-07-219-32/+33
|/
* fix this right so it doesn't break in chef-13 tooLamont Granquist2014-07-181-1/+1
|
* fix unit testLamont Granquist2014-07-171-1/+1
|
* Merge pull request #1565 from jmink/CHEF-4994Bryan McLellan2014-06-301-5/+5
|\ | | | | CHEF-4994: knife cookbook site share fails on windows
| * Include the shell_out mixin in cookbook_site_sharejmink2014-06-271-3/+3
| |
| * Hack around system differences for travis testjmink2014-06-271-1/+1
| |
| * Fix cookbook_site_share testsjmink2014-06-261-5/+5
| |
* | fix another Yajl referenceLamont Granquist2014-06-231-2/+2
|/
* CHEF-5158: Make the former override_attribute's purpose a bit more clearBryan McLellan2014-06-201-13/+6
|
* [CHEF-5158] knife[:attribute] in knife.rb should not override --attribute in ↵Hui Hu2014-06-201-0/+1
| | | | the command line
* Use the :bootstrap_version if set by the user.sersut2014-05-121-1/+31
|
* Merge pull request #1333 from ceraslabs/masterSerdar Sutay2014-05-071-0/+6
|\ | | | | Don't eat the authentication failed exception on bootstrap
| * Don't eat the authentication failed exception on bootstrapHongbin Lu2014-03-281-0/+6
| |
* | CHEF-1910: change to 'knife node environment set' to match existing patternsBryan McLellan2014-05-021-3/+3
| |
* | Remove unnecessary JSON class. Add unit test.JimmyMcCrory2014-04-291-0/+80
| |
* | Supress stdout/err output from knife testsdanielsdeleo2014-04-245-4/+18
| |
* | Fix rspec warningsdanielsdeleo2014-04-241-1/+1
| |
* | Merge: Get local mode passing against chef-pedantJohn Keiser2014-04-232-12/+12
|\ \
| * | Make root_dir required for CookbookVersion to generate manifestJohn Keiser2014-04-232-12/+12
| | |
* | | CHEF-5211: Make sure ohai[:fqdn] succeedsBryan McLellan2014-04-221-0/+1
|/ /
* | [CHEF-3610] Set log_level for chef-client when '-VV' is specified in the ↵Hui Hu2014-03-281-0/+7
| | | | | | | | knife command
* | Add regression test for cookbook overlay warningdanielsdeleo2014-03-271-0/+24
| |
* | Tidy cookbook upload specsdanielsdeleo2014-03-271-109/+132
| |
* | Fix unit tests to not access /etc/chef/encrypted_data_bag_secretdanielsdeleo2014-03-261-4/+13
|/
* Add SSL check and certificate fetching commands to knifedanielsdeleo2014-03-192-0/+338
| | | | Fixes CHEF-4711
* Remove should_exit out of parameters and make ui.confirm less ugly.sersut2014-03-192-63/+102
|
* [CHEF-5057] Add default choice option to confirm promptEric Sigler2014-03-191-7/+32
| | | | | | | | | | | This commit allows a default choice to be provided for a ui.confirm prompt. "-y" flag still takes precedence, and the "default" for the default is the previous behavior ("Y/N", no default choice). Testing done: bundle exec rake spec - passes bundle exec rspec spec/unit/knife/core - passes
* [CHEF-3812] Update test to check for ui.fatalJulian C. Dunn2014-03-191-3/+4
|
* [CHEF-3812] Support a --before option in "knife node run_list add"Julian C. Dunn2014-03-191-0/+22
|
* CHEF-4851 - Broke testing of cookbooks and versions into own includes.Josh Murphy2014-03-191-1/+3
| | | | | - This is to fix Travis builds for 1.8.7 which has brought back the dependencies in different orders - I can replicate Travis behavior on my Mac where sometimes the tests pass and sometimes the pass fail before this fix
* CHEF-4851 - Tested stderr string output compared to what function is being ↵Josh Murphy2014-03-191-6/+8
| | | | called
* CHEF-4851 - Added testing for missing dependencies in cookbook uploadJosh Murphy2014-03-191-0/+42
|
* Merge pull request #1213 from MSOpenTech/CHEF-4962Serdar Sutay2014-03-191-6/+17
|\ | | | | CHEF-4962, knife ssh will use a cloud attribute for port if available.