summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add comments, fix faulty ||=jk/build_resourceJohn Keiser2015-02-112-1/+39
|
* Add config to treat deprecation warnings as errorsdanielsdeleo2015-02-064-0/+62
|
* Remove config setting for Chef 11 deprecation warningsdanielsdeleo2015-02-061-3/+0
| | | | We're on chef 12!
* Merge pull request #2869 from chef/lcg/array-name-deuglificationLamont Granquist2015-02-055-16/+31
|\ | | | | Lcg/array name deuglification
| * method signaturelcg/array-name-deuglificationLamont Granquist2015-02-051-1/+1
| |
| * update docsLamont Granquist2015-02-051-0/+6
| |
| * specsLamont Granquist2015-02-054-12/+18
| |
| * de-uglify and coerce names to stringsLamont Granquist2015-02-051-3/+6
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | - the constructor was bypassing the setter method and allowing random objects to be set as names when the intent is to only accept strings. - failing on non-string objects would be a backwards incompatible change so the constructor was changed to coerce to a string (this has come up before with the log resource being passed an object). - a special case was added for arrays so that the name arg of multipackage installs looks like: apt_package[lsof, bc] instead of: apt_package[["lsof", "bc"]] - the special case for the array likely only affects the OnePerson(tm) out there who is passing an array to a resource (like log) already and using notifies or subscribes against it. better to xkcd that person now than to have people start to build notification against the new multipackage syntax and then have to break a lot more people with Chef-13. - this doesn't affect the internals of the multipackge stuff because the packge_name is set to the value the constructor gets (which is an array) so that the coercsion to string does not affect provider behavior, but will get notify/subscribe and other resource collection manipulation and reporting correct.
* Merge pull request #2864 from chef/lcg/warnfixLamont Granquist2015-02-051-1/+1
|\ | | | | fix warning output
| * fix warning outputlcg/warnfixLamont Granquist2015-02-041-1/+1
|/ | | | | When this got extracted into its own class `self` no longer outputs the resource which is being built.
* Merge pull request #2862 from jaymzh/mp_errPhil Dibowitz2015-02-041-1/+1
|\ | | | | Fix error message in yum provider (related to multipackage refactor)
| * Fix error message in yum provider (related to multipackage refactor)Phil Dibowitz2015-02-041-1/+1
|/
* Merge pull request #2692 from jaymzh/multipackageLamont Granquist2015-02-0418-189/+938
|\ | | | | Multipackge support
| * Try to fix spec againPhil Dibowitz2015-02-041-1/+1
| |
| * fix rubygems specLamont Granquist2015-02-031-1/+1
| |
| * Docs for changesPhil Dibowitz2015-02-033-0/+12
| |
| * Fix package dependency bugPhil Dibowitz2015-02-031-1/+1
| |
| * Minor cleanupPhil Dibowitz2015-02-031-2/+0
| |
| * Minor efficiency changePhil Dibowitz2015-02-031-1/+1
| |
| * 2 readability fixesLamont Granquist2015-02-031-2/+4
| |
| * Multipackage fixes to superclassLamont Granquist2015-02-0311-135/+419
| | | | | | | | | | | | | | - fixes define_resource_requirements - better idempotency (only packages that need updating are updated) - better messaging (only packages that update are output) - better comments
| * Mior output cleanupsPhil Dibowitz2015-02-032-7/+27
| |
| * Some more yum testsPhil Dibowitz2015-02-031-0/+34
| |
| * Some yum testsPhil Dibowitz2015-02-031-0/+66
| |
| * Some fixes for package provider, lots of unittestsPhil Dibowitz2015-02-032-4/+212
| |
| * Support dependency detection, fix caching invalidation issuesPhil Dibowitz2015-02-031-6/+15
| |
| * get_source_from_pkg should check package_name for array, not namePhil Dibowitz2015-02-031-1/+1
| |
| * Merge in the cleanups from reverted array diff.Phil Dibowitz2015-02-033-41/+57
| |
| * Revert "Make yum always use arrays internally"Phil Dibowitz2015-02-033-92/+74
| | | | | | | | | | | | | | | | This reverts commit a88c852e7166c2d209d0670f668cf67feab19222. We can't easily do this without changing a LOT of other assumptions. Since all the consumer sites already call `as_array` functions, it's easier to keep those safe.
| * Make yum always use arrays internallyPhil Dibowitz2015-02-033-74/+92
| | | | | | | | Also handle a lot more corner casses consistently and cleanup more code.
| * Several more cleanupsPhil Dibowitz2015-02-032-35/+30
| |
| * Clean up the is_a?() stuffPhil Dibowitz2015-02-031-8/+11
| |
| * Multipackge supportPhil Dibowitz2015-02-035-93/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow the `package` provider to take an array of packages to handle in one transaction. This solves two large problems: * There are times when you cannot install two packages in sequence, like when a binary is moving between two packages - they *must* be done in the same transaction. * When using Chef to install the vast majority of your base system, it can make imaging take a very, very long time because executing yum or apt once for every single package is painfully slow. This solves both. The scaffolding is all there in the Package HWRP, plus the underlying implementation for both apt and yum, the two I have access to test.
* | Merge pull request #2855 from chef/tball/rspec32-fixTyler Ball2015-02-045-72/+11
|\ \ | | | | | | Fixing Rspec 3.2 update. We were overriding private APIs which changed.
| * | Fixing Rspec 3.2 update. We were overriding private APIs which changed.tball/rspec32-fixtyler-ball2015-02-045-72/+11
| | |
* | | Bugfix: Allow action :nothing for windows_package, ips_package, ↵Julian C. Dunn2015-02-045-4/+5
| |/ |/| | | | | | | | | paludis_package and reboot resources. Closes #2841.
* | Merge pull request #2847 from juliandunn/remove-opscode-from-bootstrapJulian C. Dunn2015-02-041-1/+1
|\ \ | | | | | | Make chef-full bootstrap use chef.io URL.
| * | Make chef-full bootstrap use chef.io URL.Julian C. Dunn2015-02-021-1/+1
| | |
* | | Merge pull request #2853 from chef/lcg/lwrp-constLamont Granquist2015-02-035-6/+27
|\ \ \ | |_|/ |/| | fix LWRP constant lookups
| * | add md fileLamont Granquist2015-02-031-0/+1
| | |
| * | fix LWRP constant lookupsLamont Granquist2015-02-034-6/+26
|/ / | | | | | | | | | | | | | | * providers had the same bug as CHEF-4117 on resources * removed the strict_const_defined method on Chef::Resource since ruby 1.8.7 deprecation made that method entirely trivial * added tests, verified the failure cases really work * todo added since i think we're leaking state in-between tests
* | Merge pull request #2854 from chef/lcg/pin-rspecLamont Granquist2015-02-031-1/+1
|\ \ | |/ |/| pin rspec to 3.1.x for now
| * pin rspec to 3.1.x for nowLamont Granquist2015-02-031-1/+1
|/ | | | | rspec 3.2.0 release changed some private APIs in rspec that we were using for audit mode and broke our master (kind of expected/understandable).
* Merge pull request #2521 from chef/ssd/add-mailmapSteven Danna2015-01-291-0/+117
|\ | | | | Add .mailmap for top contributors
| * Use chef.io addresses for current Chef employeesssd/add-mailmapSteven Danna2015-01-291-50/+63
| | | | | | | | | | Current chef employees who have been contributing with a Chef-related email address now use chef.io as their primary email.
| * Add .mailmap for top contributorsSteven Danna2015-01-291-0/+104
|/
* Merge pull request #2793 from chef/jdm/maintainerSteven Murawski2015-01-281-0/+2
|\ | | | | Can I maintain things?
| * Add as Windows maintainerjdm/maintainerJay Mundrawala2015-01-231-0/+1
| |
| * Add as core maintainerJay Mundrawala2015-01-231-0/+1
| |
* | Merge pull request #2833 from chef/tball/merging-2698Tyler Ball2015-01-283-102/+113
|\ \ | | | | | | Merging https://github.com/chef/chef/pull/2698