summaryrefslogtreecommitdiff
path: root/lib/chef
Commit message (Collapse)AuthorAgeFilesLines
* cleans up the remaining new/current_resource ivarslcg/remove-ivarsLamont Granquist2017-02-1531-640/+640
| | | | | | switches from using ivars to accessors for getters Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Bump version of chef to 12.19.30 by Chef Versioner.v12.19.30Chef Versioner2017-02-141-1/+1
|
* Merge pull request #5816 from chef/lcg/yum-coerce-array-attributesLamont Granquist2017-02-142-4/+13
|\ | | | | coerce immutable arrays to normal arrays in the yum_package resource
| * coerce immutable arrays to normal arrayslcg/yum-coerce-array-attributesLamont Granquist2017-02-142-4/+13
| | | | | | | | | | | | | | as noted in comments this works around bugginess in the yum provider that require a major refactor to fix. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version of chef to 12.19.29 by Chef Versioner.v12.19.29Chef Versioner2017-02-141-1/+1
| |
* | Make it easier to have a versioned factorytm/versioned_apiThom May2017-02-142-14/+38
| | | | | | | | | | | | | | classes providing an API should include VersionedAPI, whilst the factory class includes VersionedAPIFactory. Signed-off-by: Thom May <thom@may.lt>
* | Beginning of automatic API version detectionThom May2017-02-144-0/+137
| | | | | | | | | | | | | | | | | | When we make a request to a chef server, we capture the minimum and maximum support API versions and allow them to be queried. We then provide some infrastructure for making decisions on which class should be used, in a middleware-ish mechanism. Signed-off-by: Thom May <thom@chef.io>
* | Bump version of chef to 12.19.28 by Chef Versioner.v12.19.28Chef Versioner2017-02-141-1/+1
|/
* Bump version of chef to 12.19.27 by Chef Versioner.v12.19.27Chef Versioner2017-02-141-1/+1
|
* fix specs: RedundantReturn, RedundantSelf, RedundantBeginLamont Granquist2017-02-13132-814/+690
| | | | | | department of redundancy department Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Bump version of chef to 12.19.26 by Chef Versioner.v12.19.26Chef Versioner2017-02-121-1/+1
|
* package provider cleanuplcg/package-cleanupLamont Granquist2017-02-1140-669/+709
| | | | | | | | | - cleans up a lot of ivar usage - converts most providers to shell_out_compact_timeout! - almost deprecates a few APIs, but can't quite yet - windows providers need mixlib-shellout to take an argv Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Bump version of chef to 12.19.25 by Chef Versioner.v12.19.25Chef Versioner2017-02-111-1/+1
|
* Merge pull request #5807 from chef/multisshTim Smith2017-02-112-142/+0
|\ | | | | Require net-ssh-multi 1.2.1 and remove our monkeypatch
| * Require net-ssh-multi 1.2.1 and remove our monkeypatchTim Smith2017-02-102-142/+0
| | | | | | | | | | | | The fix was merged upstream and released in 1.2.1 Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version of chef to 12.19.24 by Chef Versioner.v12.19.24Chef Versioner2017-02-111-1/+1
| |
* | Bump version of chef to 12.19.23 by Chef Versioner.v12.19.23Chef Versioner2017-02-111-1/+1
| |
* | Bump version of chef to 12.19.22 by Chef Versioner.v12.19.22Chef Versioner2017-02-101-1/+1
| |
* | Bump version of chef to 12.19.21 by Chef Versioner.v12.19.21Chef Versioner2017-02-101-1/+1
| |
* | Keep variable in initial order when sorting propertiestduffield/suppress-sensitive-propertiesTom Duffield2017-02-101-8/+14
| | | | | | | | Signed-off-by: Tom Duffield <tom@chef.io>
* | Suppress sensitive properties from resource outputTom Duffield2017-02-101-5/+12
|/ | | | Signed-off-by: Tom Duffield <tom@chef.io>
* Bump version of chef to 12.19.20 by Chef Versioner.v12.19.20Chef Versioner2017-02-101-1/+1
|
* Bump version of chef to 12.19.19 by Chef Versioner.v12.19.19Chef Versioner2017-02-091-1/+1
|
* Merge pull request #5793 from chef/lcg/data-collector-utf8massterTom Duffield2017-02-091-4/+3
|\ | | | | Sanitize UTF-8 data sent to Data Collector
| * sanitize utf8 data going to serverlcg/data-collector-utf8Lamont Granquist2017-02-081-2/+2
| | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> Signed-off-by: Tom Duffield <tom@chef.io>
| * remove unnecessary debug statementLamont Granquist2017-02-081-2/+1
| | | | | | | | | | | | pretty sure Chef::HTTP already debug logs requests Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version of chef to 12.19.18 by Chef Versioner.v12.19.18Chef Versioner2017-02-091-1/+1
| |
* | Bump version of chef to 12.19.17 by Chef Versioner.v12.19.17Chef Versioner2017-02-091-1/+1
| |
* | Merge pull request #5794 from ↵Thom May2017-02-091-6/+6
|\ \ | | | | | | | | | | | | biinari/fix/deprecated-chef-platform-methods-class-name Fix chef_platform_methods deprecation class name
| * | Fix chef_platform_methods deprecation class nameBill Ruddock2017-02-081-6/+6
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Deprecation warnings for Chef::Platform methods introduced in #5631 were logged as e.g. `"Class.set is deprecated"` instead of `"Chef::Platform.set is deprecated"` This gets correct class name for message and adds unit specs to cover the expected deprecation messages. Unfortunately for these specs, some of these methods use each other, resulting in multiple warnings. I have put an expectation for each of these to avoid masking any other deprecations. Signed-off-by: Bill Ruddock <bill.ruddock@gmail.com>
* | Bump version of chef to 12.19.16 by Chef Versioner.v12.19.16Chef Versioner2017-02-091-1/+1
| |
* | Bump version of chef to 12.19.15 by Chef Versioner.v12.19.15Chef Versioner2017-02-091-1/+1
| |
* | Bump version of chef to 12.19.14 by Chef Versioner.v12.19.14Chef Versioner2017-02-091-1/+1
| |
* | Merge pull request #5790 from chef/lcg/ban-dnf-0.6Thom May2017-02-092-5/+10
|\ \ | | | | | | do not support dnf_package on dnf 0.x
| * | do not support dnf_package on dnf 0.xlcg/ban-dnf-0.6Lamont Granquist2017-02-082-5/+10
| |/ | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version of chef to 12.19.13 by Chef Versioner.v12.19.13Chef Versioner2017-02-081-1/+1
| |
* | Merge pull request #5791 from chef/tduffield/COOL-612/yum-provider-archTom Duffield2017-02-082-250/+305
|\ \ | |/ |/| Add mutlipackage_api support to yum_package provider
| * Add mutlipackage_api support to yum_package Providertduffield/COOL-612/yum-provider-archTom Duffield2017-02-081-250/+301
| | | | | | | | | | | | | | | | | | An initial refactor to add multipackage_api support to the yum_package provider. There probably needs to be an additional refactor to make this provider look a little bit more like the DNF provider, but this should buy us some time and address some bugs. Signed-off-by: Tom Duffield <tom@chef.io>
| * Declare package_locked inside the Package providerTom Duffield2017-02-081-0/+4
| | | | | | | | | | | | | | | | | | The Package provider uses this method in its code, but it doesn't enforce it's existence. For sanity we should at least raise an error to ensure all the providers that support locking/unlocking a package have the method to determine whether the package is locked. Signed-off-by: Tom Duffield <tom@chef.io>
* | Bump version of chef to 12.19.12 by Chef Versioner.v12.19.12Chef Versioner2017-02-081-1/+1
| |
* | Merge pull request #5782 from chef/lcg/dnf-rhel7Thom May2017-02-084-34/+86
|\ \ | | | | | | rhel7 / dnf 2.0 fixes / improved errors
| * | add tests for 'where'Lamont Granquist2017-02-073-3/+3
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | add unit tests for `which` behaviorLamont Granquist2017-02-071-1/+6
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | fix return of which()Lamont Granquist2017-02-071-1/+1
| | | | | | | | | | | | | | | | | | also clean up a confusing spec test Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | rhel7 / dnf 2.0 fixes / improved errorsLamont Granquist2017-02-073-31/+78
| |/ | | | | | | | | | | | | | | | | - fixes for dnf 2.0 / rhel7 - improved error messages from python helper (gives python stack traces instead of just EPIPE all the time) - improved which/where interface in the which mixin. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version of chef to 12.19.11 by Chef Versioner.v12.19.11Chef Versioner2017-02-081-1/+1
|/
* Bump version of chef to 12.19.10 by Chef Versioner.v12.19.10Chef Versioner2017-02-071-1/+1
|
* Bump version of chef to 12.19.9 by Chef Versioner.v12.19.9Chef Versioner2017-02-061-1/+1
|
* Grant Administrators group permissions to nodes directory under chef-solo ↵Tom Duffield2017-02-062-0/+5
| | | | | (#5781) Signed-off-by: Tom Duffield <tom@chef.io>
* Bump version of chef to 12.19.8 by Chef Versioner.v12.19.8Chef Versioner2017-02-061-1/+1
|