summaryrefslogtreecommitdiff
path: root/lib/chef
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Merge pull request #5764 from ↵Bryan McLellan2017-02-064-12/+123
|\ | | | | | | | | MsysTechnologiesllc/nim/alternate_user_execute_resources Windows alternate user support for execute resources
| * Fixed specsnimisha2017-02-021-0/+8
| | | | | | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
| * Using node[:platform_family] for checking windows platformnimisha2017-02-021-1/+1
| | | | | | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
| * Fixing review commentsnimisha2017-02-024-135/+65
| | | | | | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
| * Fixed bugs, review comments and specsnimisha2017-02-022-7/+24
| | | | | | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
| * Alternate user execute resource code review feedackadamedx2017-02-023-12/+12
| |
| * Additional rubocop for execute resource default argumentsadamedx2017-02-021-3/+3
| |
| * Rubocop violations in execute resource alternate user implementationadamedx2017-02-023-12/+14
| |
| * Windows alternate user support for execute resourcesAdam Edwards2017-02-024-8/+81
| |
| * Windows user identity user name and credntial validationAdam Edwards2017-02-021-0/+81
| |
* | Bump version of chef to 12.19.7 by Chef Versioner.v12.19.7Chef Versioner2017-02-031-1/+1
| |
* | Merge pull request #5778 from chef/btm/no-fipsLamont Granquist2017-02-031-1/+1
|\ \ | | | | | | Fix --no-fips on chef-client
| * | Fix --no-fips on chef-clientbtm/no-fipsBryan McLellan2017-02-021-1/+1
| |/ | | | | | | | | | | | | Somewhat unintuitively, mixlib-cli needs both `boolean => true` as well as `long => "--[no-]option"` for the boolean feature to work. Signed-off-by: Bryan McLellan <btm@loftninjas.org>
* | Bump version of chef to 12.19.6 by Chef Versioner.v12.19.6Chef Versioner2017-02-031-1/+1
|/
* Merge pull request #5773 from ↵Thom May2017-02-011-1/+1
|\ | | | | | | | | chef/tduffield/COOL-464/raise-error-if-install-fails Raise error if ips_package install returns non-zero
| * Raise error if ips_package install returns non-zerotduffield/COOL-464/raise-error-if-install-failsTom Duffield2017-02-011-1/+1
| | | | | | | | Signed-off-by: Tom Duffield <tom@chef.io>
* | Merge pull request #5765 from mal/systemd-unit-verifyThom May2017-02-012-0/+69
|\ \ | | | | | | Verify systemd_unit file with custom verifier
| * | Fix comment grammarMal Graty2017-01-291-1/+1
| | | | | | | | | | | | Signed-off-by: Mal Graty <mal.graty@googlemail.com>
| * | Verify systemd_unit file during createMal Graty2017-01-282-0/+69
| | | | | | | | | | | | | | | | | | | | | Use custom verification class to work around file name requirements when running systemd-analyze. Signed-off-by: Mal Graty <mal.graty@googlemail.com>
* | | Bump version of chef to 12.19.5 by Chef Versioner.v12.19.5Chef Versioner2017-02-011-1/+1
| | |
* | | Merge pull request #5704 from ceneo/knife-upload-too-short-control-escapeThom May2017-02-011-1/+1
|\ \ \ | |_|/ |/| | Core: Ensure paths are correctly escaped when syntax checking
| * | switch to using regexp escapeThom May2017-02-011-1/+1
| | | | | | | | | | | | | | | | | | And add test that fails with original code Signed-off-by: Thom May <thom@chef.io>
| * | Fixed 'too short control escape' on knfie upload #5702Grzegorz Dudek2017-01-051-1/+1
| | | | | | | | | | | | Signed-off-by: Grzegorz Dudek <grzegorz.dudek@ceneo.pl>