Commit graph

101 commits

Author SHA1 Message Date
_srsh_
feb08d9a84 module was failing on python 2.7 after last update (#2459) 2016-06-29 09:12:04 +02:00
René Moser
d256c7f373 doc: maven_artifact: add a note about s3 support since version 2.2 (#2417)
See #2317
2016-06-13 08:48:03 +02:00
Gonçalo Luiz
ff0e1df82c added s3 download support to maven module (#2317)
* added s3 download support

* removed extraneous import
2016-06-13 08:34:52 +02:00
Toshio Kuratomi
cd0b7c93ef Merge pull request #2346 from ikari7789/ikari7789-patch-1
Cpanm module could not use less than Python 2.6
2016-06-04 16:37:21 -07:00
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
2016-06-04 23:21:04 +02:00
Louis-Michel Couture
c03ea71174 Update bundler example to match the param name (#2322) 2016-06-02 10:27:23 +02:00
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.
2016-05-26 16:21:12 +09:00
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)
2016-05-23 11:18:05 -04:00
Gonçalo Luiz
336d475746 fixed not resolving latest to snapshot for MD5 check when the file ex… 2016-05-04 07:29:15 +02:00
Michael Scherer
f7c421088a Use type=path for arguments, and remove code doing the conversion (#1903) 2016-04-29 09:57:52 +02:00
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
2016-04-21 22:02:33 +02:00
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.
2016-04-12 07:21:28 +02:00
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
2016-04-11 08:21:15 +02:00
Michael Scherer
c226314770 Add proper type to cpanm arguments
from_path, locallib, executable should be path to benefits
from path expansion for ~user.
2016-03-26 09:19:47 +01:00
René Moser
43bb38b977 Merge pull request #1880 from mscherer/fix_maven_artifact
Use no_log for the password for maven_artifact module
2016-03-23 00:32:04 +01:00
Michael Scherer
09da03ca0c Add the proper type for the various path argument 2016-03-22 12:08:50 +01:00
Michael Scherer
73e4b48bba Use no_log for the password for maven_artifact module 2016-03-21 00:24:35 +01:00
René Moser
e4ed1fba0e Merge pull request #1495 from nwjsmith/patch-1
Allow numeric npm package versions
2016-03-19 13:36:32 +01:00
lipanski
bc66ba103f Fix: Rename gem_install_path to gem_path - as specified in the docs 2016-01-14 18:26:39 +01:00
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.
2016-01-13 13:31:03 -05:00
Brian Coca
3aa2d3744d Merge pull request #1482 from ansible/json-imports-fallback
Update for modules which import json.
2016-01-12 10:00:37 -05:00
Brian Coca
4d14e65df5 Merge pull request #1157 from yteraoka/cpanm-executable-param
add executable parameter to cpanm module
2016-01-11 18:55:24 -05:00
Toshio Kuratomi
620be97320 Merge branch 'pr/1043' into devel 2016-01-11 15:26:13 -08:00
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
2016-01-11 15:25:23 -08: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
Charles Paul
2a937d20cf make dest use path type
path type
2016-01-05 15:49:37 -06:00
Yoshinori Teraoka
f6296fec6f add executable parameter to cpanm module
like other packaging modules (pip, gem)
2015-12-16 12:21:14 +09:00
Brian Coca
1623fba07c Merge pull request #1315 from yuppie-flu/latest_as_version_default_value
maven_artifact: Set latest as version argument default value
2015-12-14 21:55:05 -05:00
Brian Coca
0f5faf976a updated version version_added to 2.1 2015-12-14 21:56:50 -05:00
Brian Coca
feb25f0eda Merge pull request #1306 from pileofrogs/cpanm
added option to specify module version
2015-12-14 21:52:53 -05:00
Brian Coca
0415ac5cc3 Merge pull request #526 from msvab/devel
maven_artifact: ensure latest snapshot of certain version is getting downloaded
2015-12-14 21:41:24 -05:00
Kirill Kozlov
201be81aad Set latest as version argument default value 2015-12-01 23:55:26 +03:00
Dylan Martin
b0298ba4f1 added version option 2015-11-12 14:38:15 -06:00
Brian Coca
7d8dd6e210 Merge pull request #446 from xiaclo/patch-1
Allow NPM to update packages
2015-11-10 09:42:14 -08:00
Kirill Kozlov
b1e0e7eae0 Fix broken examples in docs 2015-11-02 23:15:44 +03:00
Toshio Kuratomi
378bde8729 Merge pull request #1134 from ramunasd/composer_arguments
composer arguments
2015-11-02 08:19:28 -08:00
Brian Coca
ed1cf0ecc2 corrected extension in module spec
fixes #1190
2015-11-01 19:42:29 -05:00
Ramunas Dronga
a0965ff934 fixed composer usage example 2015-10-30 12:24:42 +02:00
Ramunas Dronga
83c0bfbe3f added constraint for space in composer command 2015-10-29 23:21:46 +02:00
Ramunas
d5673f6eb4 removed check for empty composer response 2015-10-27 22:14:12 +02:00
Brian Coca
08d89bca9c fixed missed passing use-sudo 2015-10-25 17:02:25 -04:00
Ramunas Dronga
1b7496f8dc added version info for params 'arguments' 2015-10-23 11:00:52 +03:00
Ramunas Dronga
92dc7cd65c allow specify arguments for composer 2015-10-21 16:20:53 +03:00
Brian Coca
5eff47c6f1 changed use_sudo to system_lib (kept alias) and expanded description to explain how it works 2015-10-01 19:59:51 -04:00
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 …
2015-10-01 19:52:54 -04:00
Greg DeKoenigsberg
d9b801a4c2 Merge pull request #965 from resmo/fix/composer
composer: implemented smarter arguments per command handling
2015-09-30 16:25:04 -04:00
Milad Soufastai
b5207d0fc6 Updating Description to provide better explanation of what the use_sudo flag does 2015-09-23 09:40:36 -04:00
Milad Soufastai
8989212fd2 Adding the --sudo flag for CPANM use since the sudo: yes on the task doesn't work 2015-09-22 18:53:58 -04:00
Gerard Lynch
30b676478b fix param description rst syntax 2015-09-15 09:42:01 +01:00
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!
2015-09-11 21:26:23 +02:00