Commit Graph

101 Commits (2e42c7244762eaae2035ffca84ae90e03fb3fe96)

Author SHA1 Message Date
_srsh_ feb08d9a84 module was failing on python 2.7 after last update (#2459) 9 years ago
René Moser d256c7f373 doc: maven_artifact: add a note about s3 support since version 2.2 (#2417)
See #2317
9 years ago
Gonçalo Luiz ff0e1df82c added s3 download support to maven module (#2317)
* added s3 download support

* removed extraneous import
9 years ago
Toshio Kuratomi cd0b7c93ef Merge pull request #2346 from ikari7789/ikari7789-patch-1
Cpanm module could not use less than Python 2.6
9 years ago
Chris Weber 9f58e7325c Fixed exception compatablity for py3 (and 2.4 in yum_repository.py) (#2369)
* Fixed exception compatablity for py3 (and 2.4 in yum_repository.py)

* Moved Import
9 years ago
Louis-Michel Couture c03ea71174 Update bundler example to match the param name (#2322) 9 years ago
Andrew Miller 63134a85d2 Cpanm module could not use less than Python 2.6
Removed str.format() dependency to allow cpanm module to work on nodes with versions of Python less than 2.6.
9 years ago
Dag Wieers 4afae893e1 Convert module to work with python 2.4 and fix a bug (#2251)
- Avoiding the use of 'with ... as ...' and 'except ... as ...' constructs.

- Make use of posixpath.join() rather than concatenating slashes ourselves
  (To avoid having consecutive slashes which broke something on our side)
9 years ago
Gonçalo Luiz 336d475746 fixed not resolving latest to snapshot for MD5 check when the file ex… 9 years ago
Michael Scherer f7c421088a Use type=path for arguments, and remove code doing the conversion (#1903) 9 years ago
Emil Bostijancic 3031105e78 Fixes maven_artifact - verify_md5 only called for SNAPSHOT
* fixed https://github.com/ansible/ansible-modules-extras/issues/2066

* fixes https://github.com/ansible/ansible-modules-extras/issues/2066
9 years ago
stoned 6785f3b424 cpanm: search both its stderr and its stdout for the message 'is up t…
Note that since cpanm version 1.6926 its messages are sent to stdout
when previously they were sent to stderr.

Also there is no need to initialize out_cpanm and err_cpanm and
check for their truthiness as module.run_command() and str.find()
take care of that.
9 years ago
Him You Ten f99576749a added stdout and stderr outputs (#1900)
* added stdout and stderr outputs

Added stdout and stderr outputs of the results from composer as the current msg output strips \n so very hard to read when debugging

* using stdout for fail_json

using stdout for fail_json so we get the stdout_lines array
9 years ago
Michael Scherer c226314770 Add proper type to cpanm arguments
from_path, locallib, executable should be path to benefits
from path expansion for ~user.
9 years ago
René Moser 43bb38b977 Merge pull request #1880 from mscherer/fix_maven_artifact
Use no_log for the password for maven_artifact module
9 years ago
Michael Scherer 09da03ca0c Add the proper type for the various path argument 9 years ago
Michael Scherer 73e4b48bba Use no_log for the password for maven_artifact module 9 years ago
René Moser e4ed1fba0e Merge pull request #1495 from nwjsmith/patch-1
Allow numeric npm package versions
9 years ago
lipanski bc66ba103f Fix: Rename gem_install_path to gem_path - as specified in the docs 9 years ago
Nate Smith b52af2dcb1 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.
9 years ago
Brian Coca 3aa2d3744d Merge pull request #1482 from ansible/json-imports-fallback
Update for modules which import json.
9 years ago
Brian Coca 4d14e65df5 Merge pull request #1157 from yteraoka/cpanm-executable-param
add executable parameter to cpanm module
9 years ago
Toshio Kuratomi 620be97320 Merge branch 'pr/1043' into devel 9 years ago
Javier Palacios e9898190cd 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
9 years ago
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
9 years ago
Charles Paul 2a937d20cf make dest use path type
path type
9 years ago
Yoshinori Teraoka f6296fec6f add executable parameter to cpanm module
like other packaging modules (pip, gem)
9 years ago
Brian Coca 1623fba07c Merge pull request #1315 from yuppie-flu/latest_as_version_default_value
maven_artifact: Set latest as version argument default value
9 years ago
Brian Coca 0f5faf976a updated version version_added to 2.1 9 years ago
Brian Coca feb25f0eda Merge pull request #1306 from pileofrogs/cpanm
added option to specify module version
9 years ago
Brian Coca 0415ac5cc3 Merge pull request #526 from msvab/devel
maven_artifact: ensure latest snapshot of certain version is getting downloaded
9 years ago
Kirill Kozlov 201be81aad Set latest as version argument default value 9 years ago
Dylan Martin b0298ba4f1 added version option 9 years ago
Brian Coca 7d8dd6e210 Merge pull request #446 from xiaclo/patch-1
Allow NPM to update packages
9 years ago
Kirill Kozlov b1e0e7eae0 Fix broken examples in docs 9 years ago
Toshio Kuratomi 378bde8729 Merge pull request #1134 from ramunasd/composer_arguments
composer arguments
9 years ago
Brian Coca ed1cf0ecc2 corrected extension in module spec
fixes #1190
9 years ago
Ramunas Dronga a0965ff934 fixed composer usage example 9 years ago
Ramunas Dronga 83c0bfbe3f added constraint for space in composer command 9 years ago
Ramunas d5673f6eb4 removed check for empty composer response 9 years ago
Brian Coca 08d89bca9c fixed missed passing use-sudo 9 years ago
Ramunas Dronga 1b7496f8dc added version info for params 'arguments' 9 years ago
Ramunas Dronga 92dc7cd65c allow specify arguments for composer 9 years ago
Brian Coca 5eff47c6f1 changed use_sudo to system_lib (kept alias) and expanded description to explain how it works 9 years ago
Brian Coca e768a98bf3 Merge pull request #1017 from milad-soufastai/devel
Adding the --sudo flag for CPANM use since the sudo: yes on the task …
9 years ago
Greg DeKoenigsberg d9b801a4c2 Merge pull request #965 from resmo/fix/composer
composer: implemented smarter arguments per command handling
9 years ago
Milad Soufastai b5207d0fc6 Updating Description to provide better explanation of what the use_sudo flag does 9 years ago
Milad Soufastai 8989212fd2 Adding the --sudo flag for CPANM use since the sudo: yes on the task doesn't work 9 years ago
Gerard Lynch 30b676478b fix param description rst syntax 9 years ago
Rene Moser 384eaba766 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!
9 years ago