summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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.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>
| * | drop ruby-prof down to 1.2.0 for centos6lcg/fix-kitchen-testsLamont Granquist2020-02-252-4/+4
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | remove reference to travis.org replace with localhostLamont Granquist2020-02-251-1/+1
|/ / | | | | | | | | | | | | we're probably getting packetfiltered or something now that we're no longer using travis. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Merge pull request #9390 from chef/lcg/dnf-assumeyesLamont Granquist2020-02-251-0/+1
|\ \ | | | | | | Add assumeyes to dnf helper
| * | Add assumeyes to dnf helperlcg/dnf-assumeyesLamont Granquist2020-02-241-0/+1
| | | | | | | | | | | | | | | | | | I can't imagine we wouldn't run into needing this Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | Bump version to 16.0.81 by Chef Expeditorv16.0.81Chef Expeditor2020-02-257-19/+20
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #9065 from cinc-project/dist_windows_powershell_wrapperTim Smith2020-02-243-18/+28
|\ \ \ | | | | | | | | Dist windows powershell wrapper
| * | | Templating powershell extensions to inject distro constantsMarc Chamberland2020-02-243-0/+469
| | | | | | | | | | | | | | | | Signed-off-by: Marc Chamberland <chamberland.marc@gmail.com>
| * | | remove static wrapper scriptMarc Chamberland2020-02-241-459/+0
| |/ / | | | | | | | | | Signed-off-by: Marc Chamberland <chamberland.marc@gmail.com>
* | | Bump version to 16.0.80 by Chef Expeditorv16.0.80Chef Expeditor2020-02-257-19/+20
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #9388 from chef/expeditor/inspec-core_4.18.97Tim Smith2020-02-241-9/+18
|\ \ \ | |/ / |/| | Bump inspec-core to 4.18.97