Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fexes #4354 and fiexs #4372 stop trying to auto detect versions for exe ↵no_version_detect | Matt Wrock | 2016-01-11 | 1 | -69/+5 |
| | | | | installers | ||||
* | chocolatey multipackage providerlcg/chocolatey-package | Lamont Granquist | 2016-01-08 | 2 | -1/+423 |
| | |||||
* | Merge pull request #4320 from chef/jk/fix-package-nil-warning | Jay Mundrawala | 2015-12-16 | 1 | -5/+1 |
|\ | | | | | Fix failing package unit test | ||||
| * | Fix failing package unit testjk/fix-package-nil-warning | John Keiser | 2015-12-16 | 1 | -5/+1 |
| | | |||||
* | | fixing post merge test breaks | Matt Wrock | 2015-12-15 | 1 | -2/+2 |
| | | |||||
* | | non msi packages must explicitly provide a source attribute on install | Matt Wrock | 2015-12-15 | 1 | -5/+15 |
|/ | |||||
* | Use properties in package resourcesjk/package-properties | John Keiser | 2015-12-15 | 2 | -2/+0 |
| | |||||
* | Merge pull request #4193 from chef/mwrock/package | Salim Alam | 2015-12-08 | 3 | -36/+572 |
|\ | | | | | adds support for installer types inno, nsis, wise and installshield to windows_package resource | ||||
| * | adds support to installer types inno, nsis, wise and installshield top the ↵ | Matt Wrock | 2015-12-07 | 3 | -36/+572 |
| | | | | | | | | windows_package resource | ||||
* | | restore handling of dpkg -s returns codes (w/tests)lcg/dpkg-s-return-codes | Lamont Granquist | 2015-12-07 | 1 | -3/+38 |
|/ | | | | | | | | | | | | | | | | Previously dpkg -s would allow a 0 or 1 exit status and it wasn't entirely clear why this was so either from the code or the tests. This restores throwing an exception if we are outside of the [0,1] range, and then adds tests for both behaviors: - on old ubuntu/debian we get an exit(0) and output on stdout if the file is not installed - on newer ubuntu/debian we get an exit(1) and output on stderr if the file is not installed Added tests for both those cases, and the case where dpkg -s does some other kind of exitcode barf and we should raise. | ||||
* | dpkg multipackage and bonus fixes | Lamont Granquist | 2015-12-02 | 1 | -39/+40 |
| | | | | | | | | - multipackages dpkg_package - fixes edge conditions in load-current-resource around purging/removing packages that threw errors before - fixes the ability to purge packages that have been removed - adds a lot of functional tests for dpkg_package | ||||
* | dpkg provider cleanup | Lamont Granquist | 2015-11-20 | 1 | -85/+138 |
| | | | | | | | | | | | | | | - :update and :install are now treated the same way and throw the same exceptions - :remove and :purge don't require the source at all, so don't do any checking on that - fix some convoluted side-effecty logic in load_current_resource - load_current_resource now correctly gets the dpkg state on :remove and :purge when the file does not exist (pretty sure the old logic did not) - fixed the FIXME about using en_US.UTF-8 (the default for shell_out!) - just use shell_out! to throw exceptions - clean up all the specs and remove all the instance vars from the code | ||||
* | Use the proper python interpretor for yum-dump.py on Fedora 21+ | Tim Smith | 2015-11-05 | 1 | -0/+6 |
| | | | | | | | | | | | Fedora 21+ use dnf as the primary package manager. Lamont added code in 12.5 to allow for a yum compat mode. This doesn't entirely work though as we need yum-dump.py to correctly run. We were parsing the shabang in the yum binary to find the path to python. On a dnf system the yum binary is a bash script though so we were trying to run yum-dump.py using bash which obviously fails. I added a fallback method to use python if the shebang parsing returns bash. With this in place AND the yum package installed you can use the package resource on Fedora. | ||||
* | Use much simpler regex for determining the rpm version | Irving Popovetsky | 2015-09-29 | 1 | -1/+18 |
| | |||||
* | fixes from code review | Lamont Granquist | 2015-08-20 | 1 | -0/+40 |
| | |||||
* | add a test for the new provider behavior | Lamont Granquist | 2015-08-20 | 1 | -1/+14 |
| | |||||
* | green the broken tests | Lamont Granquist | 2015-08-20 | 1 | -23/+43 |
| | |||||
* | Merge pull request #3383 from jfly/master | Thom May | 2015-08-13 | 1 | -0/+18 |
|\ | | | | | gem_package should install to the systemwide Ruby when using ChefDK. | ||||
| * | Added some pretty straightforward tests of is_omnibus? | Jeremy Fleischman | 2015-05-18 | 1 | -0/+18 |
| | | |||||
* | | Use the output of dpkg-deb directly, rather than regextm/use-dpkg-deb | Thom May | 2015-08-12 | 1 | -1/+8 |
| | | | | | | | | Thanks to @kwilczynski for the original implementation | ||||
* | | Make the install/uninstall tests run more realistically | danielsdeleo | 2015-06-09 | 1 | -104/+162 |
| | | | | | | | | | | Call all the methods Provider#run_action would call rather than just poking lower-level implementation. | ||||
* | | Move 3503 regression tests into main describe block | danielsdeleo | 2015-06-09 | 1 | -118/+59 |
| | | |||||
* | | Clean up RPM package provider specs | danielsdeleo | 2015-06-09 | 1 | -76/+173 |
| | | | | | | | | | | | | | | | | | | | | Most egregious problem was stubbing two shellout calls at once, which was confusing and let some shell_out calls slip though the stubbing. Also added a bogus catchall stub to ensure that all calls to shell out have a corresponding stub. Additionally, re-arranged some tests which were not in a sensible test context. | ||||
* | | Update tests to ensure shellout calls are stubbed | danielsdeleo | 2015-06-09 | 1 | -34/+79 |
| | | |||||
* | | Adding rspec tests to cover the install, upgrade and noop scenarios when the ↵ | Irving Popovetsky | 2015-06-09 | 1 | -0/+70 |
| | | | | | | | | package has a tilde character in the version | ||||
* | | wire zypper_package up to the DSL | Lamont Granquist | 2015-06-03 | 1 | -2/+2 |
| | | | | | | | | | | | | i'm not sure how anybody has been using this resource, but think we may have broken this in 12.0.0 at some point, at any rate this will make it a lot easier for people to actually use. | ||||
* | | fix package timeout attribute | Lamont Granquist | 2015-06-02 | 14 | -217/+251 |
| | | | | | | | | | | | | | | | | | | | | updates all the shell_out calls to respect the timeout which is passed on the new_resource. the old `Chef::Config` yum timeout values are still respected and will override the default. the default of 900 seconds is preserved. | ||||
* | | Drop support for rubygems 1.xdrop-rubygems-1.x | danielsdeleo | 2015-06-01 | 1 | -32/+0 |
| | | | | | | | | | | Ruby 2.0 is the oldest release we support, and it ships with Rubygems 2.0: https://github.com/ruby/ruby/blob/v2_0_0_0/lib/rubygems.rb#L11 | ||||
* | | Purge pending specscleanup-pending | danielsdeleo | 2015-05-23 | 2 | -24/+1 |
|/ | | | | RSpec isn't a bug database | ||||
* | download_file_missing? -> downloadable_file_missing? | Jay Mundrawala | 2015-05-15 | 1 | -2/+2 |
| | |||||
* | Allow users to override remote_file attributes in windows_package | Jay Mundrawala | 2015-05-15 | 1 | -0/+13 |
| | |||||
* | Refactor uri detection | Jay Mundrawala | 2015-05-15 | 1 | -2/+2 |
| | |||||
* | Added specs to for windows_package provider's uri feature | Jay Mundrawala | 2015-05-15 | 1 | -24/+90 |
| | |||||
* | Modify windows package provider to allow url | Jay Mundrawala | 2015-05-15 | 1 | -3/+3 |
| | |||||
* | Merge pull request #3298 from juliandunn/fix-aix-source-package | Julian C. Dunn | 2015-05-04 | 1 | -8/+20 |
|\ | | | | | fix AIX package installs using a 'source' attribute | ||||
| * | Fix tests. Add test for source not providing the requested package. | Julian C. Dunn | 2015-04-29 | 1 | -8/+20 |
| | | |||||
* | | Fix installation of yum packages with version constraints | ojab | 2015-05-01 | 1 | -0/+50 |
| | | | | | | | | Fixes #2778 | ||||
* | | fix smartos_package for new "pkgin" output, fixes #3112 | Dave Eddy | 2015-05-01 | 1 | -40/+50 |
| | | |||||
* | | Make multipackage and arch play nicely together | Phil Dibowitz | 2015-04-29 | 1 | -0/+26 |
|/ | | | | Fixes #3233 | ||||
* | Merge pull request #3166 from chef/ssd/find-python | Thom May | 2015-04-25 | 1 | -1/+35 |
|\ | | | | | Use the same python interpreter as yum when possible | ||||
| * | Use the same python interpreter as yum when possiblessd/find-python | Steven Danna | 2015-03-31 | 1 | -1/+35 |
| | | | | | | | | | | | | | | | | We rely on a system python installation with the correct python libraries. To improve the chances that the python interpreter we call has the yum libary available, we use the same interpreter as yum uses. Fixes #3143 | ||||
* | | Clearing sources works for string options | Peter Burkholder | 2015-03-27 | 1 | -0/+10 |
| | | |||||
* | | Test for current behavior | Peter Burkholder | 2015-03-27 | 1 | -0/+9 |
|/ | |||||
* | Added more specs for openbsd provider unit testsjdm/openbsd | Jay Mundrawala | 2015-03-20 | 1 | -17/+105 |
| | |||||
* | Assert that candidate_version gets set when yum resource uses source | Jay Mundrawala | 2015-03-16 | 1 | -0/+14 |
| | |||||
* | Update specs for yum package provider to use shell_out | Jay Mundrawala | 2015-03-02 | 1 | -13/+15 |
| | |||||
* | fix dpkg regression | Lamont Granquist | 2015-02-19 | 1 | -0/+1 |
| | |||||
* | Merge pull request #2924 from chef/btm/popen_shellout_rebase | Jay Mundrawala | 2015-02-19 | 8 | -114/+108 |
|\ | | | | | fix aix related providers to replace popen4 with mixlib shell_out | ||||
| * | Make tests pass on Windowsbtm/popen_shellout_rebase | Jay Mundrawala | 2015-02-18 | 1 | -1/+1 |
| | | |||||
| * | Fix unit specs for PR #2934 | Jay Mundrawala | 2015-02-18 | 1 | -3/+3 |
| | |