summaryrefslogtreecommitdiff
path: root/lib/chef
Commit message (Collapse)AuthorAgeFilesLines
* Add support for metalink and throttle in yum_repositoryyum_repoTim Smith2017-09-212-1/+10
| | | | | | metalink shipped in Fedora 10. I'm not sure about throttle as it doesn't google well, but there's references to it going back 5 years at least. Signed-off-by: Tim Smith <tsmith@chef.io>
* Sort yum repository options alphabeticallyTim Smith2017-09-211-8/+8
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 13.4.30 by Chef Expeditorv13.4.30Chef Expeditor2017-09-181-1/+1
|
* Bump version to 13.4.29 by Chef Expeditorv13.4.29Chef Expeditor2017-09-181-1/+1
|
* Merge pull request #6416 from nemith/dnfThom May2017-09-181-1/+0
|\ | | | | Don't catch SIGCHLD from dnf_helper.py
| * Don't catch SIGCHLD from dnf_helper.pyBrandon Bennett2017-09-151-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dnf_helper.py was configured to catch the SIGCHLD signal and quit if it was received. In Fedora26 I have found that the fill_sack call in the dnf python package may shell out causing a SIHCHLD call. This results in no information as the helper just exits before finding a package. This removes the helper restoring the default handling of SIGCHLD which is to ingore it. Obvious fix. Fixes: 6393 Signed-off-by: Brandon Bennett <bbennett@fb.com>
* | Bump version to 13.4.28 by Chef Expeditorv13.4.28Chef Expeditor2017-09-181-1/+1
| |
* | Open apt resources up to prevent breaking changeapt_openTim Smith2017-09-173-3/+3
| | | | | | | | | | | | | | | | | | If we want these to throw a no ops vs. a hard failure we need them to be wide open. Since a lot of people (including all of chef-cookbooks) have coded as if these will gracefully skip this would have been a breaking change. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 13.4.27 by Chef Expeditorv13.4.27Chef Expeditor2017-09-161-1/+1
| |
* | Merge pull request #6413 from chef/yum_shelloutTim Smith2017-09-161-2/+0
|\ \ | |/ |/| Remove unused requires in yum_repository
| * Remove unused requires in yum_repositoryyum_shelloutTim Smith2017-09-151-2/+0
| | | | | | | | | | | | We're not using http simple or shellout here. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 13.4.26 by Chef Expeditorv13.4.26Chef Expeditor2017-09-151-1/+1
| |
* | Merge pull request #6408 from chef/zypper_repo_fix_v2Tim Smith2017-09-151-1/+1
|\ \ | |/ |/| Quiet the output of the zypper refresh and add force
| * Quite the output of the zypper refresh and add forcezypper_repo_fix_v2Tim Smith2017-09-141-1/+1
| | | | | | | | | | | | This is probably the sane set of options for an automated refresh approach. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 13.4.25 by Chef Expeditorv13.4.25Chef Expeditor2017-09-151-1/+1
| |
* | Remove the usage of an array for the platform_familyapt_resourcesTim Smith2017-09-147-7/+7
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Replace which apt-get check with simple debian check in apt resourcesTim Smith2017-09-146-21/+8
| | | | | | | | | | | | apt-get is a link to yast2 in suse so these resources fire there when someone wouldn't expect them to. Looking back we probably should have skipped the whole platform based no-op thing, but that ship sailed. This makes it behave the way a user would expect it to. What happens if you have apt compiled on your gentoo box? Well it's going to break. We'll just have to live with fixing it for 99.99% of users instead of the current 95%. Also: This is faster. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 13.4.24 by Chef Expeditorv13.4.24Chef Expeditor2017-09-141-1/+1
| |
* | Bump version to 13.4.23 by Chef Expeditorv13.4.23Chef Expeditor2017-09-141-1/+1
| |
* | Bump version to 13.4.22 by Chef Expeditorv13.4.22Chef Expeditor2017-09-121-1/+1
| |
* | Bump version to 13.4.21 by Chef Expeditorv13.4.21Chef Expeditor2017-09-121-1/+1
| |
* | Bump version to 13.4.20 by Chef Expeditorv13.4.20Chef Expeditor2017-09-121-1/+1
|/
* update some comments for current thoughtsLamont Granquist2017-09-121-8/+7
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Code refactor and add spec for powershell version 5piyushawasthi2017-09-121-1/+0
| | | | Signed-off-by: piyushawasthi <piyush.awasthi@msystechnologies.com>
* Refactor all command line options into lcm_command()Bryan McLellan2017-09-121-12/+13
| | | | Signed-off-by: Bryan McLellan <btm@loftninjas.org>
* MSYS-656 - fixed dsc_script for WMF5piyushawasthi2017-09-121-5/+15
| | | | Signed-off-by: piyushawasthi <piyush.awasthi@msystechnologies.com>
* [MSYS-594] windows_task resource is not idempotent when specifying ↵Harikesh Kolekar2017-09-111-54/+108
| | | | | | | start_time and start_day (#6312) * windows_task resource is not idempotent when specifying start_time and start_day Signed-off-by: MSys <harikesh.kolekar@msystechnologies.com>
* Refactor and add an additional unit testTom Doherty2017-09-111-15/+24
| | | | Signed-off-by: Tom Doherty <tom.doherty@fixnetix.com>
* Simplify and add unit test for default routeTom Doherty2017-09-111-10/+4
| | | | Signed-off-by: Tom Doherty <tom.doherty@fixnetix.com>
* Allow specifying default gateway on RHEL/CentosTom Doherty2017-09-111-5/+21
| | | | Signed-off-by: Tom Doherty <tom.doherty@fixnetix.com>
* Bump version to 13.4.19 by Chef Expeditorv13.4.19Chef Expeditor2017-09-111-1/+1
|
* Bump version to 13.4.18 by Chef Expeditorv13.4.18Chef Expeditor2017-09-091-1/+1
|
* Bump version to 13.4.17 by Chef Expeditorv13.4.17Chef Expeditor2017-09-081-1/+1
|
* Merge pull request #6385 from tomdoherty/bonding_opts/ethtool_optsAdam Leff2017-09-081-2/+2
|\ | | | | Ensure we quote ETHTOOL/BONDING_OPTS
| * Ensure we quote ETHTOOL/BONDING_OPTSTom Doherty2017-09-081-2/+2
| | | | | | | | Signed-off-by: Tom Doherty <tom.doherty@fixnetix.com>
* | Bump version to 13.4.16 by Chef Expeditorv13.4.16Chef Expeditor2017-09-081-1/+1
|/
* Add options for bonding NICs on RHEL/CentosTom Doherty2017-09-072-0/+30
| | | | Signed-off-by: Tom Doherty <tom.doherty@fixnetix.com>
* Add support for specifying ETHTOOL_OPTS on Red HatTom Doherty2017-09-072-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Developer's Certificate of Origin 1.1 By making a contribution to this project, I certify that: (a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or (b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as Indicated in the file; or (c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it. (d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved. Signed-off-by: Tom Doherty <tom.doherty@fixnetix.com>
* Bump version to 13.4.15 by Chef Expeditorv13.4.15Chef Expeditor2017-09-061-1/+1
|
* Bump version to 13.4.14 by Chef Expeditorv13.4.14Chef Expeditor2017-09-061-1/+1
|
* Merge pull request #6353 from mikedodge04/launchd2Tim Smith2017-09-062-3/+24
|\ | | | | Launchd should not load launchagents as root.
| * Launchd should not load launchagents as root. #5846Mike Dodge2017-08-252-3/+28
| | | | | | | | | | | | | | | | | | The Launchd resource will load launchagents as root when the mac is sitting on the login window. This is never a desired outcome and is hard to recover from. This change now will now check to see if a user is logged in before loading launchagents. Signed-off-by: Mike Dodge <mikedodge04@gmail.com>
* | Bump version to 13.4.13 by Chef Expeditorv13.4.13Chef Expeditor2017-09-061-1/+1
| |
* | Using LOGON32_LOGON_NEW_CREDENTIALS instead of LOGON32_LOGON_NETWORKnimisha2017-09-052-9/+1
| | | | | | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
* | Fixing review commentsnimisha2017-09-051-5/+1
| | | | | | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
* | Fixing specsnimisha2017-09-054-6/+8
| | | | | | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
* | Added define_resource_requirement and some other validationsnimisha2017-09-054-3/+27
| | | | | | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
* | Alternate user local logon authenticationnimisha2017-09-054-123/+64
| | | | | | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
* | Alternate user remote file code review feedbackadamedx2017-09-052-19/+27
| |
* | Access remote_file resource source files as alternate user on Windowsadamedx2017-09-054-7/+56
| | | | | | | | | | Conflicts: spec/support/shared/functional/execute_resource.rb