summaryrefslogtreecommitdiff
path: root/lib/chef/resource/yum_package.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add a description field to yum_packageTim Smith2018-03-161-0/+6
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* bad copypasta is badLamont Granquist2018-03-151-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Remove platfom restrictions in provides and don't require providersTim Smith2018-03-071-1/+1
| | | | | | Don't require providers in the resources since we map these automatically. Also remove or simplify the platform restrictions in the provides lines in the resources. We're not really getting anything from these the way we wire up resources. Signed-off-by: Tim Smith <tsmith@chef.io>
* chef code changes for changing amazon platform_familyLamont Granquist2017-04-031-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* coerce immutable arrays to normal arrayslcg/yum-coerce-array-attributesLamont Granquist2017-02-141-3/+12
| | | | | | | 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>
* add flush_cache and fix yum'sLamont Granquist2016-12-131-13/+18
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* squashing dnf workLamont Granquist2016-12-131-1/+0
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Make rubocop happyPhil Dibowitz2016-08-261-10/+12
|
* Use bad style just for rspecPhil Dibowitz2016-08-261-2/+3
|
* Fix flush_cache issues in yum_packagePhil Dibowitz2016-08-261-11/+9
| | | | Fixes #4691. I hope.
* autofixing auto-inserted delimiterslcg/chefstyle-batchLamont Granquist2016-02-091-1/+1
|
* auto fixing some rubocopsLamont Granquist2016-02-091-1/+1
| | | | | | | | | Style/NegatedWhile Style/ParenthesesAroundCondition Style/WhileUntilDo Style/WordArray Performance/ReverseEach Style/ColonMethodCall
* Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-021-1/+1
| | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/gi"
* Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-021-1/+1
| | | Generated via git ls-files | xargs perl -pi -e "s/[Cc]opyright (?:\([Cc]\) )?((?\!$(date +%Y))\\d{4})(-\\d{4})?([, ][ \d]+)*(,|(?= ))/Copyright \\1-$(date +%Y),/g"
* Use double quotes by defaultThom May2016-01-141-2/+2
| | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing.
* Use properties in package resourcesjk/package-propertiesJohn Keiser2015-12-151-38/+14
|
* fixes from code reviewLamont Granquist2015-08-201-1/+1
|
* class namespacingLamont Granquist2015-08-201-1/+1
|
* add yum_binaryLamont Granquist2015-08-201-1/+10
| | | | | | set this to 'yum-deprecated' if /usr/bin/yum-deprecated exists so that we pick this up rather than getting /usr/bin/yum on systems that have DNF installed (assuming yum-deprecated is installed).
* Overwrite resource_name with providesJohn Keiser2015-06-081-2/+0
|
* Add use_automatic_resource_nameJohn Keiser2015-06-011-1/+1
|
* Make resource_name call providesJohn Keiser2015-06-011-1/+1
|
* Move resource_name up to Resource, and figure out its value automaticallyJohn Keiser2015-06-011-1/+0
|
* Make multipackage and arch play nicely togetherPhil Dibowitz2015-04-291-1/+1
| | | | Fixes #3233
* Chef-12 RC Provider ResolverLamont Granquist2014-10-241-1/+3
| | | | | makes resource and provider class resolution more dynamic. begins deprecation of Chef::Platform static mapping.
* Normalize whitespace on all filesSeth Vargo2013-09-261-2/+2
|
* [OC-3564] move core Chef to the repo root \o/ \m/Seth Chisamore2012-10-301-0/+63
The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo!