Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | fix aix related providers to replace popen4 with mixlib shell_out | kaustubh-d | 2015-02-17 | 7 | -110/+104 | |
| | | ||||||
* | | Added spec for #2914lcg/fix-multipackage | Jay Mundrawala | 2015-02-17 | 1 | -0/+15 | |
| | | ||||||
* | | fix virtual package logic in check_package_state | Lamont Granquist | 2015-02-17 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | since check_package_state calls itself to check virtual packages the array building it does was getting indexed incorrectly as the virtual packages were getting inserted into arrays that were supposed to be indexed by the package arguments the user gave. there was also a bug which broke idempotency with virtual packages and would cause virtual packages to get reinstalled every time (installed_version not geting correctly inherited from the virtual package). WIP2 remove debug fix specs | |||||
* | | convert is_virtual_package to hash | Lamont Granquist | 2015-02-17 | 1 | -1/+1 | |
|/ | | | | | | | | | make this a hash based on name so that when we pass an array of names to install_package we can look up the right one and do not have to synchronize arrays. we should probably convert the arrays in the superclass to hashes based on name as well. | |||||
* | Updated version of #2125 to fix CHEF-2911 | Jon Cowie | 2015-02-13 | 1 | -17/+119 | |
| | | | | This pull request allows a version requirement such as ` = 1.0.1` to be specified in either the resource name or the version attribute of a yum_package resource, and modifies the yum package provider to update existing packages based on that requirement. Also adds specs to test this new functionality. | |||||
* | allow_downgrade in rpm_package | sonots | 2015-02-12 | 1 | -0/+12 | |
| | ||||||
* | Support HTTP/FTP source on rpm_package | sonots | 2015-02-09 | 1 | -0/+26 | |
| | ||||||
* | specs | Lamont Granquist | 2015-02-05 | 1 | -1/+1 | |
| | ||||||
* | Try to fix spec again | Phil Dibowitz | 2015-02-04 | 1 | -1/+1 | |
| | ||||||
* | fix rubygems spec | Lamont Granquist | 2015-02-03 | 1 | -1/+1 | |
| | ||||||
* | Multipackage fixes to superclass | Lamont Granquist | 2015-02-03 | 7 | -44/+66 | |
| | | | | | | | - fixes define_resource_requirements - better idempotency (only packages that need updating are updated) - better messaging (only packages that update are output) - better comments | |||||
* | Some more yum tests | Phil Dibowitz | 2015-02-03 | 1 | -0/+34 | |
| | ||||||
* | Some yum tests | Phil Dibowitz | 2015-02-03 | 1 | -0/+66 | |
| | ||||||
* | Merge in the cleanups from reverted array diff. | Phil Dibowitz | 2015-02-03 | 1 | -8/+8 | |
| | ||||||
* | Revert "Make yum always use arrays internally" | Phil Dibowitz | 2015-02-03 | 1 | -34/+34 | |
| | | | | | | | | 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 internally | Phil Dibowitz | 2015-02-03 | 1 | -34/+34 | |
| | | | | Also handle a lot more corner casses consistently and cleanup more code. | |||||
* | use context in conjunction with let as opposed to local variables and ↵ | David Crowder | 2015-01-28 | 1 | -62/+61 | |
| | | | | require shellout explicitly in the provider | |||||
* | fix error in tests where shell_out was being expected incorrectly | David Crowder | 2015-01-28 | 1 | -3/+3 | |
| | ||||||
* | switch to the let syntax for the rpm spec tests instead of a before block ↵ | David Crowder | 2015-01-28 | 1 | -74/+82 | |
| | | | | with instance variables | |||||
* | use shell_out! where appropriate and revert incorrectly scoped variable | David Crowder | 2015-01-28 | 1 | -7/+7 | |
| | ||||||
* | Fix #2663 - refactor to use shell_out in rpm provider | David Crowder | 2015-01-28 | 1 | -15/+18 | |
| | ||||||
* | fix apt default_release attribute broken in 12.0 | Lamont Granquist | 2014-12-15 | 1 | -257/+264 | |
| | | | | | | | | | | | | | the apt provider attempts to check if it has a provider that responds to :default_release (i.e. a real apt_package resource) via if the provider attribute is explicitly set or not, which is relying on a side-effect which broke in 12.0. the correct behavior is just to duck-type the new_resource object and see if it respond_to?(:default_release) and then use it if it does. Also the unit tests were not testing the apt_provider against both the package and apt_package resources. Added some hacky spec code (which needs a cleanup) to at least exercise the use cases. | |||||
* | Changed spec description | Jay Mundrawala | 2014-12-15 | 1 | -2/+2 | |
| | ||||||
* | Add specs for windows msi_specjdm/win-package-specs | Jay Mundrawala | 2014-12-14 | 1 | -2/+12 | |
| | ||||||
* | Windows msi package privoder unit tests run on all on all systems | Jay Mundrawala | 2014-12-14 | 1 | -1/+6 | |
| | ||||||
* | Fixes #2578, check that `installed` isn't empty | jtimberman | 2014-12-09 | 1 | -0/+26 | |
| | | | | | | | | | The underlying issue in #2578 is when a formula is `keg_only`, but not installed, we're sending `#last` to an empty Array, which returns `nil`, and causes the `NoMethodError` reported in #2578 and in the homebrew cookbook issue. This should also resolve that issue: https://github.com/opscode-cookbooks/homebrew/issues/53 | |||||
* | Setting version to an empty string in tests | lucywyman | 2014-11-19 | 1 | -0/+8 | |
| | | | | | | | Check for nil and length on version in package/rubygems tests In gemspec test change @new_resource.instance_variable_set() to @new_resource.version() | |||||
* | use PKG_PATH instead of PACKAGEROOT/SITE | Scott Bonds | 2014-11-13 | 1 | -4/+2 | |
| | ||||||
* | simplify openbsd package provider | Scott Bonds | 2014-11-13 | 1 | -295/+4 | |
| | ||||||
* | add openbsd package provider | Scott Bonds | 2014-11-13 | 1 | -0/+359 | |
| | ||||||
* | Fix rubygems provider to use https instead of http. | Nathan Cerny | 2014-11-13 | 1 | -6/+6 | |
| | ||||||
* | Fix stub for failing spec on 1.9.3 | Claire McQuin | 2014-11-03 | 1 | -0/+1 | |
| | ||||||
* | Merge branch 'master' into mcquin/rspec-3 | Claire McQuin | 2014-10-31 | 1 | -2/+2 | |
|\ | ||||||
| * | Fix windows specs for windows package type. | Serdar Sutay | 2014-10-30 | 1 | -2/+2 | |
| | | ||||||
* | | Update to RSpec 3. | Claire McQuin | 2014-10-29 | 3 | -14/+14 | |
|/ | ||||||
* | updating resources/providers unit tests to rpsec3 | Lamont Granquist | 2014-10-24 | 20 | -1081/+1081 | |
| | | | | mechanically generated patch using transpec 2.3.7 gem | |||||
* | Chef-12 RC Provider Resolver | Lamont Granquist | 2014-10-24 | 1 | -1/+1 | |
| | | | | | makes resource and provider class resolution more dynamic. begins deprecation of Chef::Platform static mapping. | |||||
* | Fixing bug where tried to use the homebrew provider on OSX and didn't ↵tball/homebrew_fix | tyler-ball | 2014-10-13 | 1 | -0/+9 | |
| | | | | correctly check for lack of homebrew-specific attribute on the resource | |||||
* | Merge pull request #2051 from wacky612/pacman-fix | Serdar Sutay | 2014-10-10 | 1 | -6/+2 | |
|\ | | | | | Installing bind with pacman_package fails | |||||
| * | Modify test | wacky | 2014-09-15 | 1 | -6/+2 | |
| | | ||||||
* | | Merge pull request #1957 from BundesIT/master | Serdar Sutay | 2014-10-10 | 1 | -1/+1 | |
|\ \ | | | | | | | honor package category for paludis packages | |||||
| * | | fixed unit tests for be01da9 | Thomas Berger | 2014-08-31 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge pull request #1907 from Aevin1387/freebsd-port-pkgng | Serdar Sutay | 2014-10-10 | 1 | -6/+16 | |
|\ \ \ | | | | | | | | | Have freebsd port use pkg info if the freebsd version is >= 10000017 | |||||
| * | | | Move supports_with_pkgng? check to the freebsd_package package. | Cory Stephenson | 2014-08-28 | 1 | -8/+11 | |
| | | | | ||||||
| * | | | Remove unnecessary version check in freebsd port and package tests. | Cory Stephenson | 2014-08-27 | 1 | -1/+0 | |
| | | | | ||||||
| * | | | Have freebsd port use pkg info if the freebsd version is >= 10000017 | Cory Stephenson | 2014-08-24 | 1 | -4/+12 | |
| |/ / | ||||||
* | | | Spec and CHANGELOG info for: https://github.com/opscode/chef/pull/1184 | Serdar Sutay | 2014-10-09 | 1 | -203/+217 | |
| | | | ||||||
* | | | Merge pull request #1980 from bahamas10/dave-1409788502 | Chris Doherty | 2014-10-08 | 1 | -1/+1 | |
|\ \ \ | | | | | | | | | fix FreeBSD pkgng provider (version detection) | |||||
| * | | | add example stdout to freebsd pkgng test spec | Dave Eddy | 2014-09-09 | 1 | -1/+1 | |
| |/ / | ||||||
* | | | homebrew_owner now tries to run homebrew as the user who owns the `brew` ↵ | tyler-ball | 2014-10-07 | 1 | -4/+10 | |
| | | | | | | | | | | | | executable, or an optional homebrew_package resource attribute |