summaryrefslogtreecommitdiff
path: root/lib/chef
Commit message (Collapse)AuthorAgeFilesLines
* [CHEF-4507] Smartos package provider to match resource package_nameEric Saxby2013-09-251-2/+2
|
* [CHEF-4200] Replace Array#keep_if with #selectEric Saxby2013-09-241-2/+2
| | | | | Array#keep_if was introduced in Ruby 1.9; Array#select is backwards compatible with 1.8
* Use string comparison of user :uid/:gidEric Saxby2013-09-241-1/+1
| | | | String comparison is slightly safer than integer comparison in cases where :uid/:gid are nil or empty.
* User provider does not update user when uid/gid are stringsEric Saxby2013-09-241-4/+8
| | | | | | Fixes [CHEF-4200]. If the user provider was sent UID as a string, comparing to the already-created user would always think that the user had changed.
* Fix typo in chef solo config file option defaultBen Holley2013-09-231-1/+1
|
* Merge branch 'CHEF-4248'Bryan McLellan2013-09-174-0/+23
|\
| * Add spec for new timeout attribute on deploy resourceJack Foy2013-07-191-1/+1
| |
| * Update the deploy resource to meet extended scm interfaceJack Foy2013-07-191-0/+13
| |
| * Use timeout attribute in git and subversion providersJack Foy2013-07-192-0/+2
| |
| * Add timeout attribute to scm resourceJack Foy2013-07-191-0/+8
| |
* | Support platform "suse" and "opensuse" on OpenSuSEdanielsdeleo2013-09-172-1/+22
| | | | | | | | | | | | | | | | | | Fixes CHEF-4356: http://tickets.opscode.com/browse/CHEF-4356 A future update to Ohai (OHAI-339) will change the detected platform on OpenSuSE from "suse" to "opensuse" to allow users to distinguish between open and enterprise versions. Add provider mapping for "opensuse" such that Chef will work correctly for both cases.
* | Use mixlib-config for more valuesJohn Keiser2013-09-161-12/+3
| |
* | Make formatters clear with Chef::Config.resetJohn Keiser2013-09-161-3/+1
| |
* | Fix test issue with temporary changes to platform_specific_path in testsJohn Keiser2013-09-161-5/+5
| |
* | Merge branch 'jk/more-defaults'John Keiser2013-09-164-34/+12
|\ \
| * | Manage cookbook_syntax_check_path with default valuesJohn Keiser2013-09-162-20/+6
| | |
| * | Use Chef::Config defaults for lockfile defaultJohn Keiser2013-09-163-14/+6
| | |
* | | Callers assume knife.hints is more hash-like than mixlib-config providesJohn Keiser2013-09-161-1/+1
| | |
* | | Add knife configuration variable names for future referenceJohn Keiser2013-09-161-2/+14
|/ /
* | Make Chef::Config resettable with mixlib-config 2.0 APIJohn Keiser2013-09-161-75/+77
|\ \
| * | Make knife.rb a config_contextJohn Keiser2013-09-131-1/+1
| | |
| * | Use "default" DSL in Chef::Config to make reset possibleJohn Keiser2013-09-121-75/+77
| | |
* | | Invalidate "children" caches when children are addedJohn Keiser2013-09-127-10/+11
| | |
* | | Update the cache when a parent is createdJon-Paul Sullivan2013-09-121-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If multiple data bag items are specified on the command line to be uploaded to a data bag that doesn't exist the first will be uploaded but the next will fail with a 409 CONFLICT. This is because each item caches the fact that the parent doesn't exist and tries to create it. This adds the first created parent to the cache such that subsequent items do not try to recreate it. Fix for issue: https://github.com/jkeiser/knife-essentials/issues/107
* | | Change OperationFailedError itself to include the body in "message" if it's ↵Kazuhiro Yamada2013-09-122-12/+9
| | | | | | | | | | | | a 400.
* | | Output cause of error when FileSystem.copy_entries method was failed.Kazuhiro Yamada2013-09-121-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - befor the change $ knife upload nodes/node.json ERROR: nodes/node.json failed to write: HTTP error writing: 400 "Bad Request" - after the change $ knife upload nodes/node.json ERROR: nodes/node.json failed to write: HTTP error writing: 400 "Bad Request" cause: {"error":["Invalid key test in request body"]}
* | | Fix raw json option with redirect testsJohn Keiser2013-09-121-4/+4
| | |
* | | Make knife raw --pretty workJohn Keiser2013-09-122-10/+20
| | |
* | | Add --cookbook-version to knife download and knife diffJohn Keiser2013-09-126-4/+20
| | |
* | | Support all chef-client options in knife convergeJohn Keiser2013-09-121-10/+13
| | |
* | | Support chef_server_url 'local' in all knife-essentials commandsJohn Keiser2013-09-121-7/+21
| | |
* | | Save children after creatingJohn Keiser2013-09-121-1/+3
| | |
* | | Support chef_server_url 'local' and create knife.rb if none existsJohn Keiser2013-09-121-0/+57
| | |
* | | Don't report random files in json dirs (like roles/environments)John Keiser2013-09-122-67/+11
| | |
* | | Fix data bag upload to not include extra chef_type/data_bag keysJohn Keiser2013-09-121-5/+1
| | |
* | | Don't do extra work recreating the chef_fs every time in knife serveJohn Keiser2013-09-123-7/+72
|/ /
* | CHEF-4487: support chef_repo_path in all knife commandsJohn Keiser2013-09-113-77/+105
|\ \
| * | Turn off strict config mode explicitlyJohn Keiser2013-09-111-0/+2
| | |
| * | Fix string vs. array detection on Ruby 1.8.7John Keiser2013-09-111-6/+6
| | |
| * | Restore platform specificity to /var/cache pathsJohn Keiser2013-09-111-2/+2
| | |
| * | Support new mixlib-config "default" syntax for chef_repo_pathJohn Keiser2013-08-291-19/+47
| | |
| * | Make chef_repo_path globally accessible across knife and chef-clientJohn Keiser2013-08-283-77/+75
| | |
* | | Fix in group provider for windows to take correct group_nameMukta Aphale2013-09-031-9/+9
| | |
* | | avoid appearing very, very wrongMike Fiedler2013-08-281-1/+1
|/ /
* | fix bff_package resource constructor.kaustubh-d2013-08-191-2/+2
| |
* | add requires for aix bff resource, providers.kaustubh-d2013-08-192-0/+2
| |
* | Changed class name for BFF resource to BffPackagedeepalijagtap2013-08-191-3/+3
| |
* | Added Resource for AIX Package (BFF)deepalijagtap2013-08-191-0/+36
| |
* | aix bff package provider implementation.Deepali Jagtap2013-08-192-1/+148
| |
* | Fixed broken Solaris package code and added the unit tests.Prabhu Das2013-08-192-7/+9
| |