Commit Graph

924 Commits (d3e588cd7827ff4b157f22d116d384c4cf718406)

Author SHA1 Message Date
Thierno IB. BARRY 119bc466be elasticsearch_plugin: rewrite module to not use unsupported parameters (#2839)
* elasticsearch_plugin: rewrite module to not use unsupported parameters (#1785)

Avoid using parameters when they are not needed (#1785)

* elasticsearch_plugin: add version only during plugin installation and parse plugin name for its removal

* elasticsearch_plugin: join command args before running it
8 years ago
shane-walker 5e174c6e50 Fixes #1375, will check for new and outdated packages when running. (#3020) 8 years ago
Robin Roth 1dc9d9512f List python-xml in requirements for zypper* (#2937) 8 years ago
René Moser 46d715d769 composer: update docs about issues on macOS if installed by homebrew (#2987) 8 years ago
Alex eb6e0069e9 Start zypper in non-interactive mode (#2854) 8 years ago
Thierno IB. BARRY 5c3be5ea28 elasticsearch_plugin: Fix bug when using proxy (#2603) (#2838) 8 years ago
Robin Roth 06bd2a5ce2 Zypper repo autoimport keys (#2132)
* zypper_repository add auto_import_keys options

* also give more output on failure (rc, stdout, stderr)

* be more specific in the doc for auto_import_keys

* add runrefresh option to zypper_repository

* this comes out of ansible/ansible-modules-extras#2411, where AnderEnder adds refresh to the zypper module
* adds a way to force zypper to refresh a repository
* can be used to refresh independently of auto_import_keys
* add option to run name=* runrefresh=yes
* name runrefresh to not break existing use to refresh (now alias to autorefresh)
* add version_added flag to autorefresh

* remove wrong version_added comment
8 years ago
Robin Roth 64879e5eb5 Ensure the return value for changed is bool (#2830)
fixes #2827
8 years ago
James Higgins 58c6ad6c9e Just use netloc to identify bucket name for s3 locations (#2713) 8 years ago
Kevin Brebanov b8db87d206 apk: Fix mutual exclusivity (#2768)
* apk: Fix mutual exclusivity

Ensure that 'name' and 'upgrade' are mutually exclusive.
Also add a note to the documentation to say so.

Fixes: #2767

* Fix documentation
8 years ago
Indrajit Raychaudhuri 39153ea154 Update homebrew_cask with additional cask features and doc updates (#2682)
Changes:
- Document missing 'path' option and remove redundant brew_path manipulation
- Add 'update_homebrew' option since 'brew cask update' as a synonym for
  'brew update' is available nowadays
- Add additional missing aliases documentation
- Port additional improvements (expanded support for brews path, cask path
  patterns etc.)
- Allow proper `list` type support for 'name' option.
8 years ago
Indrajit Raychaudhuri ea8cb33338 Update homebrew_tap to support custom tap URL via optional 'url' option (#2672)
This allows doing 'brew tap <url>' where the URL is not assumed to be on GitHub,
and the protocol doesn't have to be HTTP. Any location and protocol that git can
handle is fine.

While at it, allow proper `list` type support for 'name' option and update
module documentation for option aliases.
8 years ago
Robin Roth dc15d3569f allow to specify versions with zypper (#2328)
* fixes #2158
* handles version-specifiers (>,<,>=,<=,=) correctly
* adds option "oldpackage", which is passed to zypper
  * this is implied as soon as a version is specified
  * it can be used independently to allow downgrades coming from repos
* add __main__ check
* extend documentation on version specifier
8 years ago
Indrajit Raychaudhuri 99763bc91d Add path type in homebrew 'path' option (#2692) 8 years ago
Dagobert Michelsen 93472c3c54 Do not return failure when the package is installed and nothing is done (#1852) 8 years ago
René Moser 8fae447ee8 apk: fix LANG != C while parsing stdout (#2689) 8 years ago
Kevin Brebanov f366f5a943 apk: Add support for updating virtual packages (#2686)
Fixes: #2389
8 years ago
Indrajit Raychaudhuri d4b0732c9f List homebrew options aliases in documentation (#2671) 8 years ago
Indrajit Raychaudhuri d3dbfa3c13 List pacman options aliases in documentation (#2670) 8 years ago
Thierno IB. BARRY e9bbd3a403 Add kibana_plugin module (#2621)
* kibana_plugin: add the kibana_plugin module

* kibana_plugin: update doc

* kibana_plugin: add check mode and fix few coding style issues

* kibana_plugin: use return instead conditional statement for check mode
8 years ago
Adrian Likins 41a0f22fe8 Add a 'requirements:' field to homebrew doc (#2630)
homebrew.py and homebrew_cask.py make use of python
2.5 and 2.6 features like string .format() method.
8 years ago
Robin Roth 584a06eec7 zypper cleanup checks for failure/diff (#2569)
* zypper cleanup checks for failure/diff

* move check for changed/failed from functions back to main
* handle all cases identially
* generate diff together

* fix module name
8 years ago
Andrii Radyk f2b255ffa3 Add zypper refresh support in zypper module (#2411)
* added zypper refresh support

* removed trailing symbols
* added forced zypper refresh support similar to update_cache for apt module

* removed unnecessary blocks and cleaned up the logic for refresh

* added update_cache as alias for refresh to be similar to apt/yum module

* update zypper module according to comments
8 years ago
Robin Roth 8fe06a86f7 Check for zypper version before using options (#2549)
* priority needs zypper version >= 1.12.25
* gpgcheck needs zypper version >= 1.6.2
* output warnings if version not sufficient for option
* fixes #2548
8 years ago
Peter Oliver 92301f7451 Handle empty IPS publishers (#2047)
It turns out it's possible to set up a publisher with no URIs.  Handle
this gracefully.
8 years ago
Robin Roth 3480d3d167 allow overwrite_multiple with more than 2 repos (#2481)
2.1 introduces overwrite_multiple, which can overwrite more than one
exisiting repo (with matching alias or URL). Allow more than 2 repos to
be overwritten, since openSuSE allow more than one repo with the same
URL if the alias is different.
9 years ago
René Moser c5201f5765 Merge pull request #2508 from eest/openbsd_pkg_branch
openbsd_pkg: Add support for "pkgname%branch" syntax. Fixes #97
9 years ago
Shinichi TAMURA 346ec3ce3c Added fallback for parse_error(string) on elasticsearch_plugin module. (#2517) 9 years ago
Patrik Lundin 1453d55c23 Improve debug log some more. 9 years ago
Patrik Lundin d55f22a2c6 Make fail messages all use lowercase messages. 9 years ago
Patrik Lundin 59364500bc Improve debug logging some more. 9 years ago
Patrik Lundin dd14d14224 No support for build=true with 'branch' syntax. 9 years ago
Patrik Lundin 2d353dc98c Improve debug logging for build code. 9 years ago
Patrik Lundin c118bcab5c Add a break and extra debug log for clarity. 9 years ago
Patrik Lundin 7dcac77df5 openbsd_pkg: no need to call .rstrip. 9 years ago
Patrik Lundin f4b40926b4 openbsd_pkg: fix build=true corner case.
* Fix bug where we were actually checking for the availability of the
  requested package name and not 'sqlports' even if that was the goal.

* Add check that the sqlports database file exists before using it.

* Sprinkle some debug messages for an easier time following the code when
  developing.
9 years ago
Patrik Lundin 39d0088af8 openbsd_pkg: support "pkgname%branch" syntax.
* Such package names requires at least OpenBSD 6.0.

* Rework get_package_state() to use 'pkg_info -Iq inst:' instead of 'pkg_info -e'
  because it understands the branch syntax. It also means we can get rid of
  some additional special handling.

  This was suggested by Marc Espie:
  http://marc.info/?l=openbsd-tech&m=146659756711614&w=2

* Drop get_current_name() because the use of 'pkg_info -Iq inst:' in
  get_package_state() means we already have that information available without
  needing to do custom parsing. This was also necessary because a name such as
  "postfix%stable" does not in itself contain the version information necessary
  for the custom parsing. pkg_info -Iq translates such a name to the actual
  package name seamlessly.

* Add support for finding more than one package for the supplied package name
  which may happen if we only supply a stem.
9 years ago
_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
Jiri Tyr 7549976dc0 Fixing wrong type of params option in yum_repository module (#2371)
This commit fixes incorrect type of the "params" option of the
"yum_repository" module. Without this fix the value of the "params"
option is read as a string instead of as a dictionary which makes
it impossible to define any additional YUM repository parameters.
9 years ago
Louis-Michel Couture c03ea71174 Update bundler example to match the param name (#2322) 9 years ago
Dmitry Marakasov b0aec50b9a Improve documentation for pkgng module (#2338)
According to module checklist:

- Descriptions should always start with a Capital letter and end with a
  full stop.
- Ensure that you make use of U() for urls, C() for files and options,
  I() for params, M() for modules.
9 years ago
Brian Coca 8fac01a3cc minor fixes
removed unused imports
rearranged basic import
added if/main for testing/importability
9 years ago
Dmitry Marakasov e316888f21 Freebsd pkgng autoremove support (#2324)
* Whitespace cleanup

* Add autoremove capability to pkgng

* Add "default" and "choices" documentnation items for autoremove
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
Adrian Likins d1a4f703ce Fix pkgutil "upgrade_catalog must be one of" err (#2149)
The arg spec for update_catalog include 'type=bool'
and 'choices=["yes", "no"] which can never both be
true.

Remove the 'choices' directive, and update doc string.

Fixes #2144
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