summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update how approvals / builds happencontributingTim Smith2020-02-281-2/+2
| | | | | | This was a bit dated. Signed-off-by: Tim Smith <tsmith@chef.io>
* Minor Chefstyle fixTim Smith2020-02-281-1/+0
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #9415 from chef/ohai_updateTim Smith2020-02-282-9/+9
|\ | | | | Update Ohai to 16.0.7
| * Update Ohai to 16.0.7Tim Smith2020-02-282-9/+9
|/ | | | | | This includes a fix for Openstack detection Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.0.92 by Chef Expeditorv16.0.92Chef Expeditor2020-02-287-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #9409 from chef/yum_vs_dnfTim Smith2020-02-273-17/+35
|\ | | | | Update the rhsm_erata* and rhsm_register resources for RHEL 8
| * Change the resource order and return a symbolyum_vs_dnfTim Smith2020-02-271-6/+7
| | | | | | | | | | | | | | As lamont pointed out #{symbol} will work nicely to make it a string val. Signed-off-by: Tim Smith <tsmith@chef.io>
| * Make sure we don't break the world in RHEL 9Tim Smith2020-02-273-6/+20
| | | | | | | | | | | | I was thinking about how to accomplish this a bit. At first I figured we should use the which helper and maybe just make a dnf? question helper, but we really care about RHEL 8 here and not RHEL 7 if it has DNF. Also since this only works on Redhat we don't have to worry about all the other platforms that also have DNF since they don't apply to this resource. Signed-off-by: Tim Smith <tsmith@chef.io>
| * Update the rhsm_erata* and rhsm_register resources for RHEL 8Tim Smith2020-02-273-13/+16
| | | | | | | | | | | | | | | | | | These need to use dnf instead of yum_package where they can. I also enabled these for unified_mode and moved some only_if logic outside the resources for cleaner logging. These should really all just get converted to use shell_out and a nice converge_by Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 16.0.91 by Chef Expeditorv16.0.91Chef Expeditor2020-02-287-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #9411 from chef/lcg/remove-core-dslLamont Granquist2020-02-275-77/+13
|\ \ | |/ |/| Remove the "Core" DSL for Chef-16
| * Revert removing this lineLamont Granquist2020-02-271-0/+2
| | | | | | | | | | | | It is necessary due to the way the crazy lazy DSL module injection works Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * Remove the "Core" DSL for Chef-16Lamont Granquist2020-02-275-79/+13
|/ | | | | | | | | | | | | | | | | | | | | | This lets us avoid using declare_resource in old style core resources. As everything gets converted over to custom resources this is going away anyway. We haven't seen any issues from using the recipe DSL in custom resources in core. Clearly this is potentially breaking since any references to Chef::DSL::Core need to be changed to Chef::DSL::Recipe (although I'm not sure who would have done that other than maybe us somewhere, I had a note in there that nobody should probably touch the Core DSL). This greatly simplifies the major DSLs down to two: Recipe DSL - things that only make sense in a context where there is a resource_collection Universal DSL - things that apply everywhere Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Bump version to 16.0.90 by Chef Expeditorv16.0.90Chef Expeditor2020-02-277-20/+21
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #9396 from chef/windows_package_3010Tim Smith2020-02-273-4/+10
|\ | | | | Accept exit code 3010 as valid in windows_package
| * Add basic spec for return codewindows_package_3010Tim Smith2020-02-252-2/+6
| | | | | | | | | | | | Traditionally we've tested the defaults so we don't accidentally change them. Signed-off-by: Tim Smith <tsmith@chef.io>
| * Accept exit code 3010 as valid in windows_packageTim Smith2020-02-251-2/+4
| | | | | | | | | | | | This just means a reboot is necessary. A lot of people struggle with this and then eventually set the return code. We should just do that by default like we do in windows_feature already. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 16.0.89 by Chef Expeditorv16.0.89Chef Expeditor2020-02-267-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #9395 from chef/cookstyleTim Smith2020-02-269-19/+13
|\ \ | | | | | | Cookstyle fixes for our resources
| * | Cookstyle fixes for our resourcesTim Smith2020-02-269-19/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I ran cookstyle against the resources and fixes a few minor issues: - Remove the now default guard interpreter from a powershell_script - Use our rdoc like header format everywhere - Remove some duplicate copyrights - Simplify a few platform case statements Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 16.0.88 by Chef Expeditorv16.0.88Chef Expeditor2020-02-267-19/+20
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #9402 from chef/license_scoutTim Smith2020-02-261-3/+3
|\ \ \ | | | | | | | | Update license_scout to 1.1.7 to resolve build failures
| * | | Update license_scout to 1.1.7 to resolve build failuresTim Smith2020-02-261-3/+3
|/ / / | | | | | | | | | | | | | | | This adds overrides for hana and uri_template. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 16.0.87 by Chef Expeditorv16.0.87Chef Expeditor2020-02-267-19/+20
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #9401 from chef/bump_depsTim Smith2020-02-262-10/+10
|\ \ \ | | | | | | | | Bump all deps to current
| * | | Bump all deps to currentTim Smith2020-02-262-10/+10
|/ / / | | | | | | | | | | | | | | | Minor deps in the app and bumping of omnibus deps Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 16.0.86 by Chef Expeditorv16.0.86Chef Expeditor2020-02-267-19/+20
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #9279 from ↵Tim Smith2020-02-266-2/+419
|\ \ \ | | | | | | | | | | | | | | | | MsysTechnologiesllc/vasundhara/MSYS-1230_Windows_user_privilege_resource Migrating windows_user_privilege resource from windows cookbook
| * | | More optimization of code and updated get_account_with_user_rights to return ↵Vasu11052020-02-264-21/+30
| | | | | | | | | | | | | | | | | | | | | | | | account_name with domain Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
| * | | Did some more refactorign added more functional specs for missing scenariosVasu11052020-02-252-20/+60
| | | | | | | | | | | | | | | | Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
| * | | Removed sensitive property, and updated debug message for remove actionVasu11052020-02-241-7/+3
| | | | | | | | | | | | | | | | Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
| * | | Using win32 api to fetch the account with user rights. Used this method in ↵Vasu11052020-02-245-33/+126
| | | | | | | | | | | | | | | | | | | | | | | | set action to set the users for privileges and removed dsc_resource code Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
| * | | Reverted unwanted changesVasu11052020-02-231-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
| * | | Replaced powershell_out with powershell_exec and updated data type for ↵Vasu11052020-02-232-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | sensitive class Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
| * | | Added introduced field for resourceVasu11052020-02-231-0/+2
| | | | | | | | | | | | | | | | Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
| * | | MSYS-1230 Migrating windows_user_privilege resource from windows cookbookVasu11052020-02-234-1/+278
| | | | | | | | | | | | | | | | Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
* | | | Bump version to 16.0.85 by Chef Expeditorv16.0.85Chef Expeditor2020-02-267-19/+20
| |/ / |/| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #9400 from chef/lcg/platform_version_sugarTim Smith2020-02-263-6/+23
|\ \ \ | | | | | | | | Convert the node[:platform_version] to a Chef::VersionString
| * | | Convert the node[:platform_version] to a Chef::VersionStringlcg/platform_version_sugarLamont Granquist2020-02-263-6/+23
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | `node[:platform_version] =~ "~> 1.2"` will now just work. This might conceivably be breaking if people are doing really weird things by the class changing (Chef::VersionString still inherits from String though, so it'll have to be weirdness on par with the bad `thing.class.to_s == "Mash"` kind of comparisons that were in ohai). Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | Bump version to 16.0.84 by Chef Expeditorv16.0.84Chef Expeditor2020-02-267-19/+20
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #9397 from chef/platform_helpersTim Smith2020-02-267-9/+9
|\ \ \ | |/ / |/| | Use the chef-utils helpers in our resources
| * | Fix a spec to work with windows?platform_helpersTim Smith2020-02-251-1/+1
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Use the chef-utils helpers in our resourcesTim Smith2020-02-256-8/+8
| | | | | | | | | | | | | | | | | | Use the helpers we now ship to simplify platform detection. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 16.0.83 by Chef Expeditorv16.0.83Chef Expeditor2020-02-257-19/+20
|/ / | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #9393 from chef/lcg/unified-mode3Tim Smith2020-02-2519-119/+113
|\ \ | | | | | | More unified mode conversion and resource cleanup
| * | convert move resources to unified_modelcg/unified-mode3Lamont Granquist2020-02-2514-27/+47
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | unified_mode and custom resource for mdadmLamont Granquist2020-02-255-92/+66
|/ / | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version to 16.0.82 by Chef Expeditorv16.0.82Chef Expeditor2020-02-256-16/+16
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #9391 from chef/lcg/fix-kitchen-testsLamont Granquist2020-02-253-5/+4
|\ \ | | | | | | Remove reference to travis.org and pin ruby-prof
| * | this just isn't working at all on fedoraLamont Granquist2020-02-251-1/+0
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>