Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Handle nil run list option in knife bootstrapnil-run-list-bootstrap | danielsdeleo | 2015-11-05 | 1 | -0/+15 |
| | |||||
* | Fixed knife_spec unit test | Jay Mundrawala | 2015-11-05 | 1 | -1/+4 |
| | | | | | This is failing on both my and btm's machine. No idea how it passes in other places. | ||||
* | Merge pull request #3836 from nathwill/svc-helpers-alt | Thom May | 2015-11-05 | 1 | -30/+6 |
|\ | | | | | simplify service helpers | ||||
| * | fix specs | Nathan Williams | 2015-10-23 | 1 | -1/+1 |
| | | |||||
| * | i have no idea what is happening | Nathan Williams | 2015-10-23 | 1 | -30/+6 |
| | | |||||
* | | windows service uses log file | Matt Wrock | 2015-11-05 | 1 | -46/+82 |
| | | | | | | | | location from config if none is given on commandline | ||||
* | | Add tests for Chef::HTTP retry behavior | danielsdeleo | 2015-11-04 | 1 | -1/+103 |
| | | |||||
* | | Improve detection of ChefFS-based commands in `knife rehash`ssd/rehash-cheffs | Steven Danna | 2015-10-29 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | ChefFS-based commands have a superclass (Chef::ChefFS::Knife) which defines its own inherited method that calls super. This breaks our detection of where the subcommand is defined since the file with the definition is no longer at the top of the call stack. This commit special-cases subclasses with a superclass of Chef::ChefFS::Knife to account for this. Fixes #4089 | ||||
* | | Make Property.derive create derived properties of the same typejk/custom_properties | John Keiser | 2015-10-28 | 1 | -0/+48 |
| | | |||||
* | | Updated --no-color unit tests based on feedback from btm and Kartik | Tyler Fitch | 2015-10-28 | 1 | -11/+11 |
| | | |||||
* | | Update knife bootstrap command to honor --no-color flag in chef-client run ↵ | Tyler Fitch | 2015-10-28 | 1 | -4/+11 |
| | | | | | | | | that is part of the bootstrap process. | ||||
* | | add YARD docs | Lamont Granquist | 2015-10-26 | 1 | -1/+1 |
| | | |||||
* | | stub #validate! method | Lamont Granquist | 2015-10-26 | 1 | -0/+2 |
| | | |||||
* | | fix some busted specs | Lamont Granquist | 2015-10-26 | 1 | -1/+1 |
| | | |||||
* | | improve error message, add more tests | Lamont Granquist | 2015-10-26 | 1 | -1/+51 |
| | | |||||
* | | extend metadata to include chef_version and ohai_version | Lamont Granquist | 2015-10-26 | 1 | -1/+71 |
| | | |||||
* | | Use SHA256 instead for registry_key when data is not displayable | Jay Mundrawala | 2015-10-24 | 1 | -2/+2 |
| | | |||||
* | | fix tests for my change | Aubrey Holland | 2015-10-24 | 1 | -1/+1 |
| | | |||||
* | | We shouldn't be subclassing Struct.new - if the file is loaded twice we get ↵ | tyler-ball | 2015-10-24 | 1 | -45/+44 |
| | | | | | | | | a superclass mismatch error | ||||
* | | write spec for --json-attribute-file and move configration under render_template | sawanoboly | 2015-10-24 | 1 | -6/+33 |
| | | |||||
* | | Consider only knife configuration for chef environment in bootstrap context | Evan Gilman | 2015-10-24 | 1 | -1/+1 |
| | | | | | | | | | | | | Setting these values in Chef::Config is being deprecated in favor of using the knife config directly. https://github.com/chef/chef/issues/3946 | ||||
* | | Remove duplicate 'Accept' header in spec | Julian C. Dunn | 2015-10-24 | 1 | -2/+2 |
| | | |||||
* | | add spec for stdout/stderr suppresion in error of sensitive execute resource | Ranjib Dey | 2015-10-24 | 1 | -0/+9 |
| | | |||||
* | | Adjust tests per BTM | Jeff Blaine | 2015-10-24 | 1 | -8/+8 |
| | | |||||
* | | Changes --hide-healthy to --hide-by-mins MINS | Jeff Blaine | 2015-10-24 | 1 | -9/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #3679 Reasoning: The definition of "healthy" is overloaded in the old form (--hide-healthy) to be "a host that has run chef". The code makes no check to determine if the chef run was successful, so it has the capability to provide false positives for "health". Just because a node object was saved with ohai_time set doesn't mean the Chef run was successful. There are exception handlers like lastrun that intentionally save the node object on exception. The previous 1 hour hardcoded time was totally arbitrary. Perhaps "healthy" to others means "nodes that have run chef in the last 4 hours" (or 30 minutes, or 3 days...). | ||||
* | | Define == for node objects | David Bresson | 2015-10-24 | 1 | -0/+8 |
| | | |||||
* | | provider/user/dscl: Set "comment" default value | Mikhail Zholobov | 2015-10-24 | 1 | -0/+7 |
|/ | | | | | "comment" attribute should be defined to create user account properly on OS X. Otherwise, the RealName will be empty. | ||||
* | provider/user/dscl: Set default gid to 20 | Mikhail Zholobov | 2015-10-23 | 1 | -0/+7 |
| | | | | | gid should always be defined to create user account properly on OS X. "staff" (gid 20) is a default group for regular user accounts. | ||||
* | overhaul solaris SMF service providerlcg/3187 | Dave Eddy | 2015-10-23 | 1 | -39/+110 |
| | |||||
* | Merge pull request #4079 from chef/service_logger | Matt Wrock | 2015-10-23 | 1 | -2/+10 |
|\ | | | | | add logger to windows service shellout | ||||
| * | add logger to windows service shelloutservice_logger | Matt Wrock | 2015-10-20 | 1 | -2/+10 |
| | | |||||
* | | Added run list expansion json conversion. Creates a json tree from the run ↵kyleen/addExpandedRunList | Kyleen MacGugan | 2015-10-21 | 2 | -3/+25 |
| | | | | | | | | | | | | | | | | | | | | list expansion trace. Added event to report expanded run list Updated json conversion to use chef compat json. Remove RunListExpansion from JsonCompat | ||||
* | | Update messaging to match LWRP -> Custom Resource rename | Tim Smith | 2015-10-21 | 1 | -1/+1 |
| | | | | | | | | If you showed up in a post-LWRP world these would be confusing | ||||
* | | Merge pull request #3119 from cmluciano/cml/bug1586 | Phil Dibowitz | 2015-10-20 | 2 | -1/+10 |
|\ \ | | | | | | | Fix condition of removing a group before user error. | ||||
| * | | Add recommended test from btm | Christopher M. Luciano | 2015-10-12 | 1 | -0/+9 |
| | | | |||||
| * | | Fix condition of removing a group before user error. | cmluciano | 2015-04-30 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | This should fix [issue 1586](https://github.com/chef/chef/issues/1586). The issue is that if a group is removed before the user, the GID remained and causes an error. This should remove the check for remove actions. | ||||
* | | | Make modules with properties work and inherit as expectedjk/property_mixin | John Keiser | 2015-10-20 | 1 | -0/+97 |
| |/ |/| | |||||
* | | Fix search result paginationssd/search-pagination-fix | Steven Danna | 2015-10-09 | 1 | -1/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The start and rows parameter that are passed as part of the search request are passed directly to Solr on the backend. Results from Solr may contain deleted nodes no longer in the erchef database. Erchef will filter such nodes from the results. Thus, a user may receive fewer rows than they asked for. Incrementing 'start' only by the number of rows received will then result in the next Solr response overlapping the first, which can lead to duplicate results. In the case of a Solr results page that was completely filtered, it would lead to an infinite loop. This commit changes the code to always increment by the requested page size (args[:rows]) when it is non-nil. Incrementing by the length of the response set is still wrong in the case when the args[:rows] is nil, but the server doesn't give us anything else to increment by. Fixes #4027 | ||||
* | | Accept coercion as a way to accept nil values | John Keiser | 2015-10-08 | 1 | -0/+8 |
| | | |||||
* | | fix unit tests | Matt Wrock | 2015-10-08 | 1 | -2/+2 |
| | | |||||
* | | Windows cli tools should have color true by defaultadamedx/windows-color-defaults | Adam Edwards | 2015-10-06 | 2 | -4/+4 |
| | | |||||
* | | Quote paths.mcquin/chef-3883 | Claire McQuin | 2015-10-06 | 1 | -2/+12 |
| | | |||||
* | | Fix dispatch when there are different receivers | John Keiser | 2015-10-05 | 1 | -2/+45 |
| | | | | | | | | | | with different numbers of arguments. Fixes https://github.com/chef/chef-dk/issues/546) | ||||
* | | Merge pull request #4032 from chef/mcquin/nano/disable-32-bit | Claire McQuin | 2015-10-05 | 1 | -13/+17 |
|\ \ | | | | | | | Raise error when running 32-bit scripts on Windows Nano. | ||||
| * | | Raise error when running 32-bit scripts on Windows Nano.mcquin/nano/disable-32-bit | Claire McQuin | 2015-10-05 | 1 | -13/+17 |
| | | | |||||
* | | | Merge pull request #4003 from chef/tm/duplicate_recipes | Thom May | 2015-10-05 | 2 | -1/+7 |
|\ \ \ | |/ / |/| | | Ensure that our list of recipes is backwards compat | ||||
| * | | Ensure that our list of recipes is backwards compattm/duplicate_recipes | Thom May | 2015-09-29 | 2 | -1/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to chef 12.2 we included unexpanded 'cookbook' names for default recipes. In 12.2, we moved to expanded ('cookbook::default') names, which broke some searches. However, some of our users have now moved to searching for expanded, so we need to cater for both. Fixes #3767 | ||||
* | | | Merge pull request #4016 from chef/mcquin/nano-ps-script | Claire McQuin | 2015-10-02 | 1 | -26/+42 |
|\ \ \ | | | | | | | | | Use -Command flag on Nano | ||||
| * | | | Use -Command flag on Nano | Claire McQuin | 2015-10-01 | 1 | -26/+42 |
| | | | | |||||
* | | | | Merge pull request #4005 from chef/salam/template-fix | Salim Alam | 2015-10-01 | 1 | -2/+52 |
|\ \ \ \ | | | | | | | | | | | Use Chef::FileContentManagement::Tempfile to create temp file |