Commit Graph

219 Commits (6d69956f83172f5e6b15103e7203ea0d0cce87b4)

Author SHA1 Message Date
Nate Smith b820017ed0 Allow numeric npm package versions
When passing a package version that parses as a number (e.g. `1.9`), the version should be converted to a string before being concatenated to the package name.
2016-12-08 11:33:57 -05:00
saez0pub 029b608e1e Prevent reinstallation in case of group package 2016-12-08 11:33:56 -05:00
Will Keeling 876fe06290 Better handling of package groups in pacman module 2016-12-08 11:33:53 -05:00
Toshio Kuratomi c602d49d42 Fail due to no dnf module installed earlier as we use a dnf utility function to determine if we have permission to install packages. 2016-12-08 11:33:53 -05:00
Jiri Tyr bb194b03bc Removing parameter from yum_repository module 2016-12-08 11:33:53 -05:00
Jiri Tyr 709ae10207 Adding more options to the yum_repository module 2016-12-08 11:33:53 -05:00
Konstantin Shalygin 3956549e6c Fix recurse delete. Add force update_cache feature. 2016-12-08 11:33:52 -05:00
Thierno IB. BARRY 0f175cec07 Add ES 2.x support
Add compatibility between ES 1.x and ES 2.x.

bin/plugin install | remove [plugin_name] works on ES 1.x and ES 2.x
2016-12-08 11:33:51 -05:00
Rene Moser e9667eb542 doc: replace yumrepo with yum_repository 2016-12-08 11:33:51 -05:00
Rene Moser 84259eb2d6 rename yumrepo to yum_repository 2016-12-08 11:33:51 -05:00
Matt Martz 1f7a2041be Indicate proxy_host and proxy_port were added in 2.1 2016-12-08 11:33:49 -05:00
Jan Chaloupka 6e201948bc dnf module: package not installed with state=latest
dnf: name=PACKAGE state=latest is reponsible for two use cases:
- to install a package if not already installed.
- to update the package to the latest if already installed.

The latter use cases is not handled properly as base.upgrade does not
throw dnf.exceptions.MarkingError if a package is not installed.

Setting base.conf.best = True ensures a package is installed or
updated to the latest when calling base.install.

Sign-off: jsilhan@redhat.com
Sign-off: jchaloup@redhat.com
2016-12-08 11:33:49 -05:00
Thierno IB. BARRY 4c07e1447e update doc for proxy support
Update documentation to add proxy section
2016-12-08 11:33:49 -05:00
Thierno IB. BARRY 32d4a8811c Elasticsearch: Add proxy support
Add proxy support for plugin installation.
2016-12-08 11:33:49 -05:00
Jiri Tyr 014d78e78d Adding params option into the yumrepo module 2016-12-08 11:33:48 -05:00
Toshio Kuratomi 96f1bd82c0 Allow dnf to remove dependent packages of a package that is being removed
Fixes #1517
2016-12-08 11:33:48 -05:00
Daniel Jakots ffc291bc9a fix the spelling of vim's flavor in the example 2016-12-08 11:33:46 -05:00
Toshio Kuratomi 255c4b01a8 Remove duplicate documentation fields 2016-12-08 11:33:46 -05:00
Scott Bonds 7f1ccad39b add python 2.5 requirement and ansible 2.1 version_added 2016-12-08 11:33:45 -05:00
Scott Bonds 056a532d75 add ports support in openbsd_pkg 2016-12-08 11:33:45 -05:00
lipanski 9d355fb5af Fix: Rename gem_install_path to gem_path - as specified in the docs 2016-12-08 11:33:45 -05:00
Toshio Kuratomi ad0d2c1747 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-12-08 11:33:44 -05:00
Alexander Winkler dca9d618f0 fixed inline for more compatibility 2016-12-08 11:33:43 -05:00
Alexander Winkler c730bd6f1c Added update_catalog and some error handling 2016-12-08 11:33:43 -05:00
Yoshinori Teraoka 47b09873e2 add executable parameter to cpanm module
like other packaging modules (pip, gem)
2016-12-08 11:33:43 -05:00
Javier Palacios 9dcea19175 Allow relative path for bower executable
Add default value

Rename argument

Explicit verification of relative bower path

Add example

Old keyword name used in example

BUGFIX: tilde expansion actually useless on relative paths

Modify relative_execpath default value as suggested

Added version_added for relative_execpath

Update for last few comments on the bug report

* version to 2.1 since this feature enhancement will now go into 2.1
* set path and relative_execpath type to path
* Set default value of path to None
2016-12-08 11:33:43 -05:00
Charles Paul 3cd6e4c1f8 make dest use path type
path type
2016-12-08 11:33:42 -05:00
Michael Scherer d504253257 Simplify the code and remove use_unsafe_shell=True
While there is no security issue with this shell snippet, it
is better to not rely on shell and avoid use_unsafe_shell.
2016-12-08 11:33:41 -05:00
Matt Martz 22733a7574 Fix tabbed indentation in packaging/os/pkgutil.py 2016-12-08 11:33:40 -05:00
Michael Scherer df195b3076 Replace choices=BOOLEANS by type='bool', fix #1326 2016-12-08 11:33:40 -05:00
Marc Mettke 43d2e3ad68 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
2016-12-08 11:33:40 -05:00
Kirill Kozlov 6f663fa7bf Set latest as version argument default value 2016-12-08 11:33:38 -05:00
Brian Coca a9abec5a03 updated version version_added to 2.1 2016-12-08 11:33:38 -05:00
Dylan Martin 766b53b066 added version option 2016-12-08 11:33:38 -05:00
Michal Svab 5f743c4fdc maven_artifact: check whether snapshot is the latest snapshot 2016-12-08 11:33:38 -05:00
Guido Günther 13deae9b8f zypper: Add returncode to result
This will be used in integration tssts and makes the whole thing
more similar to the yum module.
2016-12-08 11:33:37 -05:00
Jiri tyr d4d24bac60 Adding yumrepo module
This patch is adding a new module which allows to add and remove YUM
repository definitions. The module implements all repository options
as described in the `yum.conf` manual page.
2016-12-08 11:33:36 -05:00
Indrajit Raychaudhuri 92efb6eb51 homebrew: Aditional examples for documentation 2016-12-08 11:33:34 -05:00
Indrajit Raychaudhuri 273d1c51e6 homebrew: Add explicit documentation for 'path' argument (with expected default)
In Homebew, a formula is installed in a location relative to the actual
`brew` command. The documentation clarifies that.

Additionally, removed redundant 'path' reconstruction in multiple places.
2016-12-08 11:33:34 -05:00
Robin Roth 85f2165273 better cope with rpm not returning package name
if the rpm query is missing a package name (or giving some error): fail soft

before the patch: the module fails because the installed_state dict is missing the package name

after the patch: the missing package is assumed to not be in the correct state and is installed/removed with zypper
2016-12-08 11:33:33 -05:00
xiaclo b36b12e968 Allow NPM to update packages 2016-12-08 11:33:33 -05:00
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