summaryrefslogtreecommitdiff
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Chef-14 Breaking: remove node.set and node.set_unlesslcg/remove-node-setLamont Granquist2018-01-221-15/+1
| | | | | | been deprecated since late-12. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Merge pull request #6736 from chef/openssl_resourcesTim Smith2018-01-224-0/+401
|\ | | | | Add dhparam, rsa_private_key and rsa_public_key resources
| * Chefstyle fixopenssl_resourcesTim Smith2018-01-121-2/+2
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Remove node from the specsTim Smith2018-01-123-3/+0
| | | | | | | | | | | | We're not using this here anymore Signed-off-by: Tim Smith <tsmith@chef.io>
| * Add some resource specsTim Smith2018-01-123-0/+152
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Add tests for the mixinTim Smith2018-01-051-0/+252
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | 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>
* | | Merge pull request #6728 from chef/reindexThom May2018-01-221-125/+0
|\ \ \ | | | | | | | | Remove knife index rebuild command that requires Chef < 11
| * | | Remove knife index rebuild command that requires Chef < 11reindexTim Smith2018-01-041-125/+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-221-13/+0
|\ \ \ \ | | | | | | | | | | Remove previously deprecated mixins and Chef::DSL::Recipe::FullDSL
| * | | | Remove previously deprecated mixins and Chef::DSL::Recipe::FullDSLchef14_deprecationsTim Smith2018-01-011-13/+0
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Merge pull request #6753 from chef/deprecated_resourcesThom May2018-01-2210-2191/+0
|\ \ \ \ | | | | | | | | | | Remove erl_call and deploy resources
| * | | | Remove erl_call and deploy resourcesdeprecated_resourcesTim Smith2018-01-2010-2191/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We deprecated these for removal in Chef 14. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | | Merge pull request #6760 from chef/resource_spec_cleanupThom May2018-01-2151-274/+107
|\ \ \ \ \ | | | | | | | | | | | | Remove useless class tests and cleanup specs
| * | | | | Remove useless class tests and cleanup specsresource_spec_cleanupTim Smith2018-01-2051-274/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We create the class then instantly check that it's exactly what we created. There's not much value in that. This also converts more things over to let. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | | | Merge pull request #6758 from chef/tm/creds_int_testsThom May2018-01-211-0/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | Ensure we don't use credentials during integration tests
| * | | | | | Ensure we don't use credentials during integration teststm/creds_int_testsThom May2018-01-191-0/+5
| |/ / / / / | | | | | | | | | | | | | | | | | | Signed-off-by: Thom May <thom@chef.io>
* | | | | | Merge pull request #6749 from chef/lcg/rubocop-0.52.1Thom May2018-01-2115-60/+56
|\ \ \ \ \ \ | |/ / / / / |/| | | | | prepping for rubocop 0.52.1
| * | | | | prepping for rubocop 0.52.1lcg/rubocop-0.52.1Lamont Granquist2018-01-1715-60/+56
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | | | | Update the pending version to 14.1revert_inlineTim Smith2018-01-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | | | Revert "Enable the spec use_inline_resoruces deprecation"Tim Smith2018-01-181-0/+1
| |/ / / / |/| | | | | | | | | | | | | | This reverts commit dfc85c82105d2c7a5b03cf8cf60ba9e0a8fe51f9.
* | | | | spec fixes for ruby 2.5Lamont Granquist2018-01-182-6/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | | | Merge pull request #6714 from MsysTechnologiesllc/dh/update_validation_on_idleThom May2018-01-181-0/+12
|\ \ \ \ \ | | | | | | | | | | | | [MSYS-735]fix validation for idle_time
| * | | | | Fix style errordheerajd-msys2018-01-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
| * | | | | Fix rspecsdheerajd-msys2018-01-161-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
| * | | | | fix validation for idle_timedheerajd-msys2018-01-161-0/+8
| |/ / / / | | | | | | | | | | | | | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* | | | | missed oneLamont Granquist2018-01-171-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | | | fix bff tests for tmpdirLamont Granquist2018-01-171-3/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | | | use TMPDIR correctly in initscriptlcg/hardocde-tmpdir-aix-specLamont Granquist2018-01-171-4/+6
|/ / / / | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | | Merge pull request #6732 from chef/deprecationsLamont Granquist2018-01-081-1/+0
|\ \ \ \ | | | | | | | | | | Enable the deprecation for use_inline_resource
| * | | | Enable the spec use_inline_resoruces deprecationdeprecationsTim Smith2018-01-051-1/+0
| | |/ / | |/| | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | Fix dscl group provider gid_used? (#6703)Sean Karlage2018-01-081-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use dscl search verb in gid_used? `dscl` has a search verb which makes checking whether a gid is currently used much easier than parsing string output of listing all gids. Signed-off-by: Sean Karlage <skarlage@fb.com>
* | | | Merge pull request #6688 from ↵Bryan McLellan2018-01-082-9/+103
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | MsysTechnologiesllc/vasundhara/chef#6638_windows_task_not_fully_idempotent Fix windows_task resource not being idempotent for random_delay and execution_time_limit
| * | | Fixed chefstyle issuesVasu11052018-01-052-18/+18
| | | | | | | | | | | | | | | | Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
| * | | Added new specs and updated code to handle more scenariosVasu11052018-01-052-1/+95
| | | | | | | | | | | | | | | | Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
| * | | chef#6638 fixed random_delay and execution_time_limit property not ↵Vasu11052018-01-051-10/+10
| |/ / | | | | | | | | | | | | | | | idempotent for windows_task resource Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
* | | Merge pull request #6735 from get9/fix-dscl-home-existsTim Smith2018-01-051-0/+26
|\ \ \ | | | | | | | | Check for set home property before file existence (fixes #5777)
| * | | Check for set home property before file existence (fixes #5777)Sean Karlage2018-01-041-0/+26
| |/ / | | | | | | | | | Signed-off-by: Sean Karlage <skarlage@fb.com>
* | | Merge pull request #6627 from ↵Thom May2018-01-051-1/+8
|\ \ \ | |/ / |/| | | | | | | | MsysTechnologiesllc/vasundhara/issue_6073_allow_forcing_sensitive_to_false_on_execute_or_batch_resource [MSYS-725] [chef#6073] allow forcing sensitive to false on execute and batch resource if password is set.
| * | [MSYS-725] [chef#6073] allow forcing senistive to false on execute and batch ↵Vasu11052017-12-261-1/+8
| |/ | | | | | | | | | | resource Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
* | Merge pull request #6699 from chef/windows_pathThom May2018-01-031-1/+1
|\ \ | | | | | | Modernize windows_path resource
| * | Modernize windows_path resourceTim Smith2017-12-211-1/+1
| |/ | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Improve property warnings in resourcesbetter_resource_errorsTim Smith2017-12-292-14/+14
|/ | | | | | Give more details on why people are seeing these problems so they can fix them. Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #6695 from bloomberg/bootstrap-stringsTim Smith2017-12-213-0/+9
|\ | | | | Escape single-quoted strings from the context in knife bootstrap
| * Update the client.d stubAllan Espinosa2017-12-201-0/+2
| | | | | | | | Signed-off-by: Allan Espinosa <aespinosa33@bloomberg.net>
| * Escape single-quoted strings from the contextAllan Espinosa2017-12-202-0/+7
| | | | | | | | | | | | Fixes #6680 Signed-off-by: Allan Espinosa <aespinosa33@bloomberg.net>
* | Merge pull request #6701 from chef/lcg/chef-http-inject-tempfileLamont Granquist2017-12-202-19/+32
|\ \ | |/ |/| Allow injecting tempfiles into Chef::HTTP
| * allow injecting tempfiles into Chef::HTTPlcg/chef-http-inject-tempfileLamont Granquist2017-12-192-19/+32
| | | | | | | | | | | | | | | | | | use this to inject the tempfile from Chef::FileContentManagement::Tempfile closes #2401 Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Fix priority to accept 1-99 not 0-99yum_repo_cleanupTim Smith2017-12-191-0/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>