Commit Graph

178 Commits (482f0a8d1c3cf354fb12b9459340025ce27ca6db)

Author SHA1 Message Date
pmakowski 9ab42a98ca no-suggests is obsolete, switch to no-recommends 2016-12-08 11:33:33 -05:00
Kirill Kozlov 426613b00d Fix broken examples in docs 2016-12-08 11:33:32 -05:00
Ramunas Dronga 86bea2d6ab fixed composer usage example 2016-12-08 11:33:31 -05:00
Ramunas Dronga ae18a1d877 added constraint for space in composer command 2016-12-08 11:33:31 -05:00
Ramunas 662fa86f07 removed check for empty composer response 2016-12-08 11:33:31 -05:00
Ramunas Dronga 6e4b42ebbc added version info for params 'arguments' 2016-12-08 11:33:31 -05:00
Ramunas Dronga ae59ea7deb allow specify arguments for composer 2016-12-08 11:33:31 -05:00
Toshio Kuratomi 8c8c63110e Move existing check for root before we make expensive network calls 2016-12-08 11:33:31 -05:00
Brian Coca b7372b509a corrected extension in module spec fixes #1190 2016-12-08 11:33:31 -05:00
Toshio Kuratomi 9c75b5eac3 Make the pkg/name param into a list so that changes to make changes to _squash_items easier 2016-12-08 11:33:31 -05:00
Brian Coca d9a29f394f fixed missed passing use-sudo 2016-12-08 11:33:30 -05:00
james c2a4e230aa More consistent use of run_command() wrapper function, which now adds the default binary location to the search path 2016-12-08 11:33:30 -05:00
M0ses a1dbb83075 fix errorhandling in zypper.py module
package_latest was calling package_present but did not care
about the return code so errors in package_present were hidden
and everthing look ok on the console when zypper update did not fail,
but no packages where installed.
2016-12-08 11:33:29 -05:00
Christopher M. Fuhrman 5574516934 pkgin: Support multiple matching packages
pkgin searches for packages such as 'emacs' can return multiple matches,
the first of which is not guaranteed to match.  So, iterate through
found packages until we have an appropriate match.  Should we *not* find
a match, then return False indicating match failure.
2016-12-08 11:33:29 -05:00
Kevin b43329b6a0 Remove `homebrew-` prefix when checking if repo has already been tapped
See: https://github.com/Homebrew/homebrew/blob/master/Library/Homebrew/cmd/tap.rb

Example:

```
$ brew tap neovim/homebrew-neovim
$ brew tap
neovim/neovim
...
```
2016-12-08 11:33:26 -05:00
Brian Coca 1426c3ba02 added missing GPL licences fixes #508 2016-12-08 11:33:26 -05:00
Toby Fleming 3293fe7231 Homebrew: Allow colons, direct check for outdated formula 2016-12-08 11:33:26 -05:00
Indrajit Raychaudhuri e115f62a2d homebrew: Also add 'formula' as alias for 'name' and reformat 2016-12-08 11:33:25 -05:00
Indrajit Raychaudhuri c397dfe9ed homebrew: Improve 'argument_spec' handling
- Remove choice list for boolean values in argument_spec and make it
  more consistent with core modules
- Add 'package' alias and support for list type for 'name' parameter
- Added self as maintainer
2016-12-08 11:33:25 -05:00
Toshio Kuratomi 7ccd6a4de0 Change documented requirement from dnf to python-dnf as dnf could be taken to mean the command line tool.
Fixes #1032
2016-12-08 11:33:25 -05:00
Brian Coca ae84177514 switched to use module loggigng 2016-12-08 11:33:24 -05:00
Brian Coca a04972c79b changed use_sudo to system_lib (kept alias) and expanded description to explain how it works 2016-12-08 11:33:24 -05:00
Milad Soufastai c3c9f46ba4 Updating Description to provide better explanation of what the use_sudo flag does 2016-12-08 11:33:24 -05:00
Milad Soufastai 07a4ab2fc5 Adding the --sudo flag for CPANM use since the sudo: yes on the task doesn't work 2016-12-08 11:33:24 -05:00
ToBeReplaced faee617b21 Fix fail_json call in _mark_package_install 2016-12-08 11:33:23 -05:00
Rene Moser 859b2f7948 composer: smarter arguments handling
To get all available options in json for each command, `composer help <command> --format=json` can be used. This allows us to simply parse the output and dynamically find out if an option is available. Neat!
2016-12-08 11:33:23 -05:00
Rene Moser b9960c0172 composer: rename composer_install to composer_command 2016-12-08 11:33:23 -05:00
Rene Moser 61fcbe0d51 composer: simplify has_changed() 2016-12-08 11:33:23 -05:00
Indrajit Raychaudhuri 42a28d92e2 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` 2016-12-08 11:33:22 -05:00
Indrajit Raychaudhuri f10de6e47b Add 'package' alias and support for list type for pacman 'name' parameter 2016-12-08 11:33:21 -05:00
Vlad Glagolev fa56777341 fixed a typo in swdepot module 2016-12-08 11:33:20 -05:00
Gerard Lynch d17fa53764 fix param description rst syntax 2016-12-08 11:33:19 -05:00
timeraider4u a7e088c683 added check_mode support
added support for the --check option during execution of the playbooks
2016-12-08 11:33:19 -05:00
Vlad Glagolev c3d49d7db0 fixed a typo in pacman module 2016-12-08 11:33:19 -05:00
ToBeReplaced ad54ce6125 Rewrite dnf module.
This fully implements all expected functionality of the dnf module.

Group removal may behave oddly due to hiccups in tagging groups as being
installed.

A pkg_types option could be added to specify the group package types.
2016-12-08 11:33:19 -05:00
ToBeReplaced cdf603448a Add support for state=latest and * 2016-12-08 11:33:19 -05:00
ToBeReplaced 337a1db62e Add change reporting, enablerepo support, and gpgcheck.
disable_gpg_check was configured backwards, so it was toggled. Typos in
enablerepo/disablerepo are removed. fill_sack() calls are relocated to
occur after repo decisions. The "changed" key is now set for new
installations.
2016-12-08 11:33:19 -05:00
Igor Gnatenko e178abb501 typo fix in oneliners
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2016-12-08 11:33:19 -05:00
Toshio Kuratomi a1235d91a2 Fix nevra, fixes to docs and copyright info 2016-12-08 11:33:19 -05:00
Igor Gnatenko e8f3059300 add ability to install packages
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2016-12-08 11:33:19 -05:00
Igor Gnatenko 7a6af06f8b remove all and start from scratch
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2016-12-08 11:33:19 -05:00
Indrajit Raychaudhuri 739ff5c807 pacman: Remove choice list for boolean values in arg spec This also makes argument_spec more consistent with core modules.
Added self as author.
2016-12-08 11:33:18 -05:00
Brian Coca 5185dd3563 added version added 2016-12-08 11:33:17 -05:00
Brian Coca bf7851d9ad added version_added to new feature 2016-12-08 11:33:17 -05:00
Carl Meyer 66777d010b Add 'production' option to bower module. 2016-12-08 11:33:17 -05:00
Kristian Koehntopp 2d9d474f23 update inline documentation 2016-12-08 11:33:13 -05:00
Kristian Koehntopp 2e80ff1898 add force= option to allow force installation/removal of packages 2016-12-08 11:33:13 -05:00
Andreas Skarmutsos Lindh d2bcd4e8e7 quoted version_added 2016-12-08 11:33:12 -05:00
Andreas Skarmutsos Lindh 0e55b498ad add version_added 2016-12-08 11:33:12 -05:00
Andreas Skarmutsos Lindh 4b0dc387ce cpanm: add installdeps option 2016-12-08 11:33:12 -05:00