summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Bump version to 15.1.36 by Chef Expeditorv15.1.3615.1.36Chef Expeditor2019-07-011-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #8687 from criteo-forks/issue_7215_yum_package_custom_repoTim Smith2019-07-011-5/+3
|\ | | | | Pass yum_package options to underlying python helper
| * Pass yum_package options to underlying python helperBaptiste Courtois2019-06-241-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When working with custom repo that are disabled by default, we need to enable them on-demand. The python helper handles that properly but the yum package provider does not pass user's options in all cases. Most of the time there is no issue because in normal cases you should not need to enable any repository to work with "installed" packages. However in some rare cases, you may have multiple installed versions of a given package. In that situation, python libraries used by the helper will do some extra work that may (will) requires to enable the repo. See call to _compare_providers in http://yum.baseurl.org/download/docs/yum-api/3.2.27/yum-pysrc.html#YumBase._bestPackageFromList Not passing the options in that case, will result in an unclear error: > ' * No candidate version available for "package" ' And often will lock/corrupt the rpm db. Signed-off-by: Baptiste Courtois <b.courtois@criteo.com>
* | Bump version to 15.1.35 by Chef Expeditorv15.1.35Chef Expeditor2019-07-011-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 15.1.34 by Chef Expeditorv15.1.34Chef Expeditor2019-06-281-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 15.1.33 by Chef Expeditorv15.1.33Chef Expeditor2019-06-271-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 15.1.32 by Chef Expeditorv15.1.32Chef Expeditor2019-06-271-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Fix a typo in the hostname resource property descriptionsTim Smith2019-06-261-1/+1
| | | | | | | | | | | | Fix this so we can fix the docs site Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 15.1.31 by Chef Expeditorv15.1.31Chef Expeditor2019-06-261-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 15.1.30 by Chef Expeditorv15.1.30Chef Expeditor2019-06-251-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #8691 from chef/choco_docsTim Smith2019-06-251-3/+5
|\ \ | | | | | | Add introduced fields for chocolatey_source
| * | Add introduced fields for chocolatey_sourcechoco_docsTim Smith2019-06-251-3/+5
| | | | | | | | | | | | | | | | | | This way we get the proper docs for Chef 15.1. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 15.1.29 by Chef Expeditorv15.1.29Chef Expeditor2019-06-251-1/+1
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #8692 from chef/lcg/yum-exception-handlingTim Smith2019-06-251-24/+29
|\ \ \ | | | | | | | | yum_package: Better handle yum exceptions in our helper so we always close the rpmdb
| * | | be a bit more careful in the exit handler as wellLamont Granquist2019-06-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | mostly cosmetic Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | | handle case where rpmdb has not been initialized yetLamont Granquist2019-06-251-1/+2
| | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | | yum exception handling improvementslcg/yum-exception-handlingLamont Granquist2019-06-251-24/+27
| | |/ | |/| | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | Bump version to 15.1.28 by Chef Expeditorv15.1.28Chef Expeditor2019-06-251-1/+1
| |/ |/| | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #8635 from gep13/choco_sourceTim Smith2019-06-251-0/+33
|\ \ | | | | | | (GH-8634) Add ability to further configure source
| * | Address PR review feedbackGary Ewan Park2019-06-051-6/+5
| | | | | | | | | | | | Signed-off-by: Gary Ewan Park <gep13@gep13.co.uk>
| * | (GH-8634) Add ability to further configure sourceGary Ewan Park2019-06-041-1/+35
| | | | | | | | | | | | | | | | | | | | | | | | This provides the ability to set additional properties for a Chocolatey source with properties `admin_only` and `allow_self_service`. As well as the ability to enable/disable a source. Signed-off-by: Gary Ewan Park <gep13@gep13.co.uk>
* | | Bump version to 15.1.27 by Chef Expeditorv15.1.27Chef Expeditor2019-06-251-1/+1
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #8682 from higanworks/handle_temp_dir_stdoutTim Smith2019-06-251-1/+4
|\ \ \ | | | | | | | | Ignore noisy outputs at create temp_dir during bootstrap
| * | | add commentsawanoboly2019-06-251-0/+3
| | | | | | | | | | | | | | | | Signed-off-by: sawanoboly <sawanoboriyu@higanworks.com>
| * | | ignore noise outputssawanoboly2019-06-241-1/+1
| | |/ | |/| | | | | | | Signed-off-by: sawanoboly <sawanoboriyu@higanworks.com>
* | | Bump version to 15.1.26 by Chef Expeditorv15.1.26Chef Expeditor2019-06-251-1/+1
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Bump version to 15.1.25 by Chef Expeditorv15.1.25Chef Expeditor2019-06-251-1/+1
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Bump version to 15.1.24 by Chef Expeditorv15.1.24Chef Expeditor2019-06-251-1/+1
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Bump version to 15.1.23 by Chef Expeditorv15.1.23Chef Expeditor2019-06-241-1/+1
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Bump version to 15.1.22 by Chef Expeditorv15.1.22Chef Expeditor2019-06-241-1/+1
|/ / | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 15.1.21 by Chef Expeditorv15.1.21Chef Expeditor2019-06-221-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 15.1.20 by Chef Expeditorv15.1.20Chef Expeditor2019-06-201-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 15.1.19 by Chef Expeditorv15.1.19Chef Expeditor2019-06-201-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 15.1.18 by Chef Expeditorv15.1.18Chef Expeditor2019-06-201-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 15.1.17 by Chef Expeditorv15.1.17Chef Expeditor2019-06-201-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 15.1.16 by Chef Expeditorv15.1.16Chef Expeditor2019-06-191-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Move the data collector should_be_enabled? checklcg/move-dc-checkLamont Granquist2019-06-182-43/+44
| | | | | | | | | | | | | | This works better as part of the module that handles all the config wrangling. It isn't central to the data_collector operation itself. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version to 15.1.15 by Chef Expeditorv15.1.15Chef Expeditor2019-06-181-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 15.1.14 by Chef Expeditorv15.1.14Chef Expeditor2019-06-171-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 15.1.13 by Chef Expeditorv15.1.13Chef Expeditor2019-06-141-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 15.1.12 by Chef Expeditorv15.1.12Chef Expeditor2019-06-141-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #8614 from chef/lcg/systemd-service-target-modeLamont Granquist2019-06-146-19/+81
|\ \ | | | | | | Target mode for systemd service helper
| * | update commentsLamont Granquist2019-06-141-4/+20
| | | | | | | | | | | | | | | | | | | | | also changes the file_exist? signature since in ruby that only ever takes one arg. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | Target mode for systemd service helperLamont Granquist2019-05-296-19/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Makes it so that local cookbook can bounce a remote service over train/ssh/whatever. Works at least for ubuntu. Introduces a fairly rudimentary TrainHelpers class, using some inspiration from ohbye. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | Bump version to 15.1.11 by Chef Expeditorv15.1.11Chef Expeditor2019-06-141-1/+1
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Bump version to 15.1.10 by Chef Expeditorv15.1.10Chef Expeditor2019-06-141-1/+1
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Bump version to 15.1.9 by Chef Expeditorv15.1.9Chef Expeditor2019-06-141-1/+1
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Bump version to 15.1.8 by Chef Expeditorv15.1.8Chef Expeditor2019-06-101-1/+1
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | use mixlib-cli's deprecation mechanismMarc A. Paradise2019-06-101-102/+65
| | | | | | | | | | | | | | | | | | | | | | | | Deprecation logic is now available in `mixlib-cli` via `deprecated_option`. Let's use that instead of keeping our custom deprecation behavior. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
* | | Bump version to 15.1.7 by Chef Expeditorv15.1.7Chef Expeditor2019-06-101-1/+1
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.