summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* RFC 106: expose name and chef_environment as attrstm/chef_environmentThom May2018-03-096-10/+33
| | | | | | | We also now set chef_environment the same as policy group when that's appropriate Signed-off-by: Thom May <thom@chef.io>
* Merge pull request #6961 from chef/quicker_travis_runsTim Smith2018-03-071-1/+1
|\ | | | | Switch to a smaller gem to install in kitchen runs
| * Switch to a smaller gem to install in kitchen runsTim Smith2018-03-071-1/+1
| | | | | | | | | | | | | | aws-sdk is 132 gems now. It takes *forever* to install on some platforms like CentOS 6. Use a simple gem. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 14.0.121 by Expeditorv14.0.121Chef Expeditor2018-03-075-11/+12
| |
* | Merge pull request #6956 from chef/bffTim Smith2018-03-075-12/+12
|\ \ | |/ |/| Rename bff provider to match its resource
| * Update the provider resolver specs for bff packagebffTim Smith2018-03-061-4/+2
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Update the bff package specTim Smith2018-03-061-4/+4
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Rename bff provider to match its resourceTim Smith2018-03-063-4/+6
| | | | | | | | | | | | We have the bff resource and the aix provider. Rename the provider to to bff as well. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 14.0.120 by Expeditorv14.0.120Chef Expeditor2018-03-075-11/+12
| |
* | Merge pull request #6950 from chef/more_propertiesTim Smith2018-03-0710-303/+39
|\ \ | | | | | | Convert more set_or_returns to proper properties
| * | Remove the nil user in execute specTim Smith2018-03-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | We're not longer initializing user to nil and instead we're letting property handle it. This user => nil statement isn't the actual test here, but was just a workaround for the funky behavior. Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Convert more set_or_returns to proper propertiesmore_propertiesTim Smith2018-03-059-302/+38
| | | | | | | | | | | | | | | | | | Just modernizing our resources so we can start to add descriptions to them for the documentation Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 14.0.119 by Expeditorv14.0.119Chef Expeditor2018-03-075-13/+14
| | |
* | | Merge pull request #6958 from jasonwbarnett/remove-old-explicit-provider-setThom May2018-03-072-3/+0
|\ \ \ | | | | | | | | Remove explicit setting of @provider and depend on ProviderResolver
| * | | Remove old way of being and depend on ProviderResolverJason Barnett2018-03-072-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Jason Barnett <jason.w.barnett@gmail.com>
* | | | Bump version to 14.0.118 by Expeditorv14.0.118Chef Expeditor2018-03-065-11/+12
| | | |
* | | | Merge pull request #6952 from chef/lcg/remove-deprecated-namespace-collisionsLamont Granquist2018-03-062-130/+6
|\ \ \ \ | | | | | | | | | | remove deprecated property namespace collisions
| * | | | remove deprecated proprety namespace collisionslcg/remove-deprecated-namespace-collisionsLamont Granquist2018-03-052-130/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | require writing `new_resource.my_property` instead of just `my_property` in provider code. a surprise in this code was that methods directly on the resource are all injected into the provider, and we never deprecated that, because we didn't know about it. that makes `action_class {}` helpers unnecessary, but causes additional namespace pollution, but at least the methods declared in the resource will lose to DSL methods (i.e. `def execute` will not work). but that also means that resources which are injected into the DSL which overwrite resource methods in other cookbooks may break their use in that cookbooks providers/action_classes. we should probably deprecate that as well, but we didn't and people probably found this behavior and used it. i cleaned it up a bit and removed the methods on Chef::Resource directly which polluted the provider class with all kinds of bizzare crap methods (not_if and only_if were getting injected into the provider, etc). Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | | | Bump version to 14.0.117 by Expeditorv14.0.117Chef Expeditor2018-03-065-13/+14
| | | | |
* | | | | Merge pull request #6938 from zfjagann/from_fileThom May2018-03-064-0/+92
|\ \ \ \ \ | | | | | | | | | | | | Added source_file to FromFile
| * | | | | Added source_file to FromFileZeal Jagannatha2018-03-054-0/+92
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | This new field tracks the file from which the object was loaded. Signed-off-by: Zeal Jagannatha <zealjagannatha@gmail.com>
* | | | | Bump version to 14.0.116 by Expeditorv14.0.116Chef Expeditor2018-03-055-11/+12
| | | | |
* | | | | Merge pull request #6953 from chef/fix_apt_repoTim Smith2018-03-052-23/+1
|\ \ \ \ \ | |_|_|_|/ |/| | | | Avoid compile time error in apt_repository
| * | | | Use verify to validat the keyfix_apt_repoTim Smith2018-03-051-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TIL Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | | Avoid compile time error in apt_repositoryTim Smith2018-03-052-22/+5
|/ / / / | | | | | | | | | | | | | | | | | | | | My previous PR to apt_repository introduced a bug where gpg keys couldn't validate. This converts a raise to an execute so it all happens during converge. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | Chefstyle fixTim Smith2018-03-051-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | better docs for Chef::Provider::Service::Upstart.supports?Brad2018-03-051-0/+1
| |/ / |/| | | | | | | | Signed-off-by: Brad <bradarv90@gmail.com>
* | | Bump version to 14.0.115 by Expeditorv14.0.115Chef Expeditor2018-03-055-11/+12
| | |
* | | Merge pull request #6923 from chef/2k3Tim Smith2018-03-0520-128/+36
|\ \ \ | | | | | | | | Remove support for Windows 2003
| * | | Remove support for Windows 20032k3Tim Smith2018-03-0220-128/+36
| | | | | | | | | | | | | | | | | | | | | | | | Windows 2003 is fully end of life at this point and hasn't been supported by Chef for quite a while. EXTENDED support for Windows 2003 ended July 14, 2015. We avoid a good number of WMI queries by removing this support entirely. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | Bump version to 14.0.114 by Expeditorv14.0.114Chef Expeditor2018-03-055-11/+12
| | | |
* | | | Merge pull request #6896 from chef/tm/resource_inspectorThom May2018-03-053-0/+175
|\ \ \ \ | | | | | | | | | | add a utility to dump info about resources
| * | | | add a utility to dump info about resourcestm/resource_inspectorThom May2018-03-053-0/+175
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Thom May <thom@chef.io>
* | | | | Bump version to 14.0.113 by Expeditorv14.0.113Chef Expeditor2018-03-055-11/+12
| | | | |
* | | | | Merge pull request #6914 from chef/lcg/no-fork-default-command-lineLamont Granquist2018-03-055-21/+153
|\ \ \ \ \ | | | | | | | | | | | | Don't use supervisor process for one-shot / command-line runs
| * | | | | windows does not support daemonizelcg/no-fork-default-command-lineLamont Granquist2018-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the option doesn't even exist due to it being omitted at class-parsing time. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | | | | fix legacy mode and legacy mode testsLamont Granquist2018-02-262-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also more broadly applies the integration tests to legacy mode which was the original intent of the chef-solo tests in client_spec.rb here Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | | | | add an explicit check for --onceLamont Granquist2018-02-261-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | | | | Don't use supervisor process for one-shot / command-line runsLamont Granquist2018-02-264-18/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | without --interval we default to --no-fork, with --interval we default to running --fork. --once and --daemonize are handled before this code so they will also DTRT. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | | | | Bump version to 14.0.112 by Expeditorv14.0.112Chef Expeditor2018-03-055-11/+12
| | | | | |
* | | | | | Merge pull request #6927 from chef/jcowie/poise-hoistThom May2018-03-052-2/+84
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | Add attribute hoisting into core
| * | | | | Make sure before block of specs is calling correct methods now defensive ↵jcowie/poise-hoistJon Cowie2018-03-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | code removed Signed-off-by: Jon Cowie <jonlives@gmail.com>
| * | | | | Remove redundant defensive codeJon Cowie2018-03-051-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jon Cowie <jonlives@gmail.com>
| * | | | | Add attribute hoisting into coreJon Cowie2018-03-012-2/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit implements RFC-105 and adds specs to verify attribute hoisting is working correctly in conjunction with existing attributes. Signed-off-by: Jon Cowie <jonlives@gmail.com>
* | | | | | Bump version to 14.0.111 by Expeditorv14.0.111Chef Expeditor2018-03-055-11/+12
| | | | | |
* | | | | | Merge pull request #6943 from chef/misc_resourceTim Smith2018-03-0528-100/+94
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add more description fields, style fixes, add missing requires
| * \ \ \ \ \ Merge branch 'master' into misc_resourceTim Smith2018-03-0518-129/+272
| |\ \ \ \ \ \ | |/ / / / / / |/| | | | | |
* | | | | | | Merge pull request #6945 from chef/osx_profile_identity2Tim Smith2018-03-051-3/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | osx_profile: set identity on the property not using identity_attr
| * | | | | | | osx_profile: set identity on the property not using identity_attrosx_profile_identity2Tim Smith2018-03-041-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | | | | | Merge pull request #6946 from chef/win_serviceTim Smith2018-03-051-3/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | windows_service: Set identity on the properly not using identity_attr