summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Chef-14 Breaking: remove node.set and node.set_unlesslcg/remove-node-setLamont Granquist2018-01-222-11/+1
| | | | | | been deprecated since late-12. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Bump version to 14.0.6 by Expeditorv14.0.6Chef Expeditor2018-01-221-1/+1
|
* Merge pull request #6445 from chef/knife_ssh_identity_fileTim Smith2018-01-221-6/+1
|\ | | | | Remove deprecated knife ssh --identity-file option
| * Remove deprecated knife ssh --identity-file optionknife_ssh_identity_fileTim Smith2017-09-261-6/+1
| | | | | | | | | | | | This was replaced with --ssh_identity_file Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 14.0.5 by Expeditorv14.0.5Chef Expeditor2018-01-221-1/+1
| |
* | Merge pull request #6736 from chef/openssl_resourcesTim Smith2018-01-225-0/+305
|\ \ | | | | | | Add dhparam, rsa_private_key and rsa_public_key resources
| * | Allow file to handle the OS specific valuesTim Smith2018-01-123-12/+18
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Make the private key mode be 600 by defaultTim Smith2018-01-121-1/+1
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Improve readability a tiny bit in the mixinTim Smith2018-01-121-1/+1
| | | | | | | | | | | | | | | | | | Per the review Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Add tests for the mixinTim Smith2018-01-051-10/+10
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Add dhparam, rsa_private_key and rsa_public_key resourcesTim Smith2018-01-055-0/+299
| | | | | | | | | | | | | | | | | | Ported from the openssl cookbook. I've done all the major refactoring there to shake the bugs out. This is just reformatted to use the mixin instead of a cookbook helper and to be library style so it works in core chef. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 14.0.4 by Expeditorv14.0.4Chef Expeditor2018-01-221-1/+1
| | |
* | | Merge pull request #6444 from chef/knife_ssh_csshxThom May2018-01-221-4/+0
|\ \ \ | | | | | | | | Chef 14: Remove deprecated knife ssh csshx command
| * | | Remove deprecated knife ssh csshx commandknife_ssh_csshxTim Smith2017-09-261-4/+0
| | |/ | |/| | | | | | | | | | | | | This was replaced with knife ssh cssh Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 14.0.3 by Expeditorv14.0.3Chef Expeditor2018-01-221-1/+1
| | |
* | | Merge pull request #6719 from chef/dash_r_soloThom May2018-01-221-8/+1
|\ \ \ | | | | | | | | Remove deprecated -r option for Solo mode
| * | | Remove deprecated -r option for Solo modedash_r_soloTim Smith2018-01-011-8/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We claimed we were going to remove this in Chef 13. Let's stop rewriting ARGs now. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | Bump version to 14.0.2 by Expeditorv14.0.2Chef Expeditor2018-01-221-1/+1
| | | |
* | | | Merge pull request #6728 from chef/reindexThom May2018-01-221-133/+0
|\ \ \ \ | | | | | | | | | | Remove knife index rebuild command that requires Chef < 11
| * | | | Remove knife index rebuild command that requires Chef < 11reindexTim Smith2018-01-041-133/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | knife index rebuild only works on Chef Server < 11. We no longer support Chef Server 10 and anyone still using 10 should use an older DK or gem install of chef for management. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | | Merge pull request #6718 from chef/chef14_deprecationsThom May2018-01-2210-181/+7
|\ \ \ \ \ | | | | | | | | | | | | Remove previously deprecated mixins and Chef::DSL::Recipe::FullDSL
| * | | | | Remove previously deprecated mixins and Chef::DSL::Recipe::FullDSLchef14_deprecationsTim Smith2018-01-0110-181/+7
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We wired these up previously with deprecations. They've been deprecated for a long time and are pretty rarely used on the Supermarket. Additionally we have Foodcritic rules to detect their usage: FC102: Deprecated Chef::DSL::Recipe::FullDSL class used FC100: Deprecated Chef::Mixin::Language mixin used FC099: Deprecated Chef::Mixin::LanguageIncludeRecipe mixin used FC098: Deprecated Chef::Mixin::RecipeDefinitionDSLCore mixin used FC097: Deprecated Chef::Mixin::LanguageIncludeAttribute mixin used Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | | Bump version to 14.0.1 by Expeditorv14.0.1Chef Expeditor2018-01-221-1/+1
| | | | |
* | | | | Merge pull request #6753 from chef/deprecated_resourcesThom May2018-01-2210-1292/+0
|\ \ \ \ \ | | | | | | | | | | | | Remove erl_call and deploy resources
| * | | | | Remove erl_call and deploy resourcesdeprecated_resourcesTim Smith2018-01-2010-1292/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We deprecated these for removal in Chef 14. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | | | Merge pull request #6749 from chef/lcg/rubocop-0.52.1Thom May2018-01-2145-117/+83
|\ \ \ \ \ \ | | | | | | | | | | | | | | prepping for rubocop 0.52.1
| * | | | | | prepping for rubocop 0.52.1lcg/rubocop-0.52.1Lamont Granquist2018-01-1745-117/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | | | | | Actually bump the version to 14 and dep on chef-config / ohai 14tm/branch_14Tim Smith2018-01-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this the kitchen tests fail as there isn't a chef-config build at ~14.0. Ohai has been bumped to 14 and the chef-config dep updated to 14. For now we have to use builds from master since we don't have a gem. I left notes that we can remove those in the future. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | | | | Bump version to 13.7.16 by Expeditorv13.7.16Chef Expeditor2018-01-191-1/+1
| | | | | | |
* | | | | | | Bump version to 13.7.15 by Expeditorv13.7.15Chef Expeditor2018-01-191-1/+1
| | | | | | |
* | | | | | | Merge pull request #6754 from chef/revert_inlineThom May2018-01-191-8/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Revert deprecation of use_inline_resources
| * | | | | | | Revert "Enable the deprecation for use_inline_resource"Tim Smith2018-01-181-8/+2
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | This reverts commit aab192e2b5df57d13213f8e89ce6fccc74a01db1.
* | | | | | | Bump version to 13.7.14 by Expeditorv13.7.14Chef Expeditor2018-01-191-1/+1
| | | | | | |
* | | | | | | fix double-logging buglcg/fix-double-loggingLamont Granquist2018-01-181-2/+2
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | somehow we're getting an IO object here which is a STDOUT wired up to file descriptor 10 which is not the same as "STDOUT" which is wired up to file descriptor 1. i can't track down where or how this is happening. this works around the problem by just inspecting if the log_location is set to an IO object which is a tty or not which should be broadly equivalent (and perhaps more correct than the old code? not sure if the edge cases matter or not). also i'm not smart enough right now to figure out how to test this adequately, particularly in ways that would actually catch if it really breaks in the future (particularly due to the gnarliness of wanting to have a functional test which constructs a tty when run on travis without a tty....) Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | | | | Bump version to 13.7.13 by Expeditorv13.7.13Chef Expeditor2018-01-181-1/+1
| | | | | |
* | | | | | Merge pull request #6725 from chef/osc_11Thom May2018-01-185-0/+10
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add a warning that Chef 11 server support in knife user is deprecated
| * | | | | | Add a warning that Chef 11 server support in knife user is deprecatedosc_11Tim Smith2018-01-035-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're currently shipping 2 of each of these plugins and rewriting the user input when we think they actually meant to support Chef 11 server. It's code that really needs to go away at this point. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | | | | Merge pull request #6744 from chef/dnf_yum_repoThom May2018-01-181-9/+24
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Fix yum_repository to properly reload chef's package cache post repo setup
| * | | | | | | Add the same logic to other actionsdnf_yum_repoTim Smith2018-01-151-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Missed that entirely Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | | | | | Fix yum_repository to properly reload chef's package cache post repo setupTim Smith2018-01-151-7/+12
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this you cannot install a package that is in that repository. We already did this for the yum cache, but not for the DNF cache. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | | | | Merge pull request #6714 from MsysTechnologiesllc/dh/update_validation_on_idleThom May2018-01-181-2/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | [MSYS-735]fix validation for idle_time
| * | | | | | | fixed functional testdheerajd-msys2018-01-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
| * | | | | | | Fix style errordheerajd-msys2018-01-161-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
| * | | | | | | Fix rspecsdheerajd-msys2018-01-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
| * | | | | | | fix validation for idle_timedheerajd-msys2018-01-161-2/+4
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* | | | | | | Bump version to 13.7.12 by Expeditorv13.7.12Chef Expeditor2018-01-171-1/+1
| | | | | | |
* | | | | | | Merge pull request #6745 from chef/lcg/fix-non-daemonized-umaskLamont Granquist2018-01-171-0/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | fix non-daemonized umask
| * | | | | | | fix non-daemonized umasklcg/fix-non-daemonized-umaskLamont Granquist2018-01-161-0/+1
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We are ignoring this setting in non-daemonized (--no-fork) runs. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | | | | | Bump version to 13.7.11 by Expeditorv13.7.11Chef Expeditor2018-01-171-1/+1
| | | | | | |
* | | | | | | Merge pull request #6637 from chef/lcg/cleanup-node-mapLamont Granquist2018-01-171-32/+33
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | simplify node_map logic