Commit graph

23 commits

Author SHA1 Message Date
Matthew Gamble
a92a0e56f2 Remove dead code from pacman module
The manual check to see if get_bin_path() returned anything is
redundant, because we pass True to the required parameter of
get_bin_path(). This automatically causes the task to fail if the pacman
binary isn't available. Therefore, the code within the if statement
being removed is never called.
2016-03-23 18:39:26 +11:00
René Moser
af9aaed64c Merge pull request #1662 from saez0pub/devel
Prevent reinstallation in case of group package
2016-03-16 22:28:44 +01:00
Will Keeling
282deb3291 Better handling of package groups in pacman module 2016-03-08 20:24:11 +00:00
saez0pub
6c7be7d97d Prevent reinstallation in case of group package 2016-03-08 18:57:30 +01:00
Konstantin Shalygin
808177e2c9 Fix recurse delete. Add force update_cache feature. 2016-02-11 18:34:44 +06:00
Toshio Kuratomi
d6af6f8477 Update for modules which import json.
Some do not use the json module directly so don't need import json.
Some needed to fallback to simplejson with no traceback if neither was installed

Fixes #1298
2016-01-11 13:06:22 -08:00
Marc Mettke
f0e0be0b21 Pacman Module Fixes
Update: query_package documentation
Fix: Number of Packages to Updated was one to high,
     'cause of counting the '\n'
Fix: Pacman was reinstalling state=latest packages,
     even when it was unable to load the remote version
2015-12-16 07:03:18 +01:00
Greg DeKoenigsberg
8e9299653a Merge pull request #1018 from indrajitr/pacman-checkmode-fixes
Additional upgrade mode fixes for pacman module with check_mode safety
2015-09-30 16:23:18 -04:00
Indrajit Raychaudhuri
25b85dafbb Add 'package' alias and support for list type for pacman 'name' parameter 2015-09-28 17:11:28 -05:00
Indrajit Raychaudhuri
b149233abf Additional upgrade mode fixes for pacman module with check_mode safety
- ensure upgrade option honors and actually supports `check_mode`
- enabling just `upgrade` and `update_cache` should perform upgrade
- example added for the equivalent for `pacman -Syu`
2015-09-23 10:11:12 -05:00
Vlad Glagolev
5de4a64238 fixed a typo in pacman module 2015-09-18 10:32:10 +03:00
Indrajit Raychaudhuri
48f0e70e60 pacman: Remove choice list for boolean values in arg spec
This also makes argument_spec more consistent with core modules.

Added self as author.
2015-09-01 23:19:07 -05:00
Indrajit Raychaudhuri
e41597a033 Improve pacman module
- detect and use pacman_path via get_bin_path helper
- simplify pending upgrade detection
- apply outstanding changes from #358, #41
2015-07-24 23:51:17 -05:00
Konstantin Shalygin
8f3a2a8e3d add 'version_add' 2015-07-24 23:42:53 -05:00
Konstantin Shalygin
d8d90ecb03 add force remove feature 2015-07-24 23:42:53 -05:00
Konstantin Shalygin
ca1daba8bb add upgrade future, patch by n0vember- 2015-07-24 23:42:53 -05:00
Brian Coca
2f9d30ae5b Merge pull request #480 from RubenKelevra/patch-2
pacman: change -Syy to -Sy for "update-cache"

just noting we may want to add an option to force updating the cache in the future
2015-05-26 10:04:52 -04:00
Toshio Kuratomi
32fb15e310 Fix quoting for documentation build 2015-05-15 11:52:37 -07:00
Greg DeKoenigsberg
72ee99184a Adding author's github id 2015-05-14 00:21:51 -04:00
@RubenKelevra
752442e8ff change -Syy to -Sy
-Syy do always update, which is not needed, since the caches might already be up to date.
2015-05-11 23:58:08 +02:00
Daniel Newport
2b1b3df40f use state=latest to ensure the latest version is installed. mimics functionality of the apt and yum modules. 2015-01-10 23:56:05 -05:00
Daniel Newport
8fa3e97d30 fix pacman upgrade bug 2015-01-10 10:40:03 -05:00
Michael DeHaan
7e6fc7023d Reorganization. 2014-11-04 17:31:59 -05:00
Renamed from packaging/pacman.py (Browse further)