Commit Graph

861 Commits (84ca3ba7eecbcb9c1ebcfbcbb6ab98f97d1c097e)

Author SHA1 Message Date
Michael Scherer e8dbb4e4f2 Mark conf_file as a path, for various user expansion 9 years ago
Christopher M. Fuhrman 8c6a3e732e pkgin: Fix bad regexp which did not catch packages such as p5-SVN-Notify
The previous version of my regexp did not take into account packages
such as 'p5-Perl-Tidy' or 'p5-Test-Output', so use a greedy match up to
the last occurrance of '-' for matching the package.  This regex has
been extensively tested using all packages as provided by pkgsrc-2016Q1[1].

Footnotes:
[1]  http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/?only_with_tag=pkgsrc-2016Q1
9 years ago
Jasper Lievisse Adriaanse 2b8debbc2b Sprinkle some LANG/LC_* where command output is parsed (#2019) 9 years ago
Jasper Lievisse Adriaanse 85c1440ede Tweak and extend the pkgin module
- make path to pkgin a global and stop passing it around; it's not going
  to change while ansible is running
- add support for several new options:
  * upgrade
  * full_upgrade
  * force
  * clean
- allow for update_cache to be run in the same task as upgrading/installing
  packages instead of needing a separate task for that
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
Joerg Fiedler 44bfca315a add chroot flag to pkgng in order to allow installation of packages into chroot environments, e.g. jails (#1218) 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
René Moser 542a96f907 Merge pull request #1827 from jasperla/pkgin_update_cache
support for 'update_cache' in pkgin module
9 years ago
René Moser f710908574 Merge pull request #1915 from mscherer/fix_cpanm
Add proper type to cpanm arguments
9 years ago
Michael Scherer d9b8043b4a Use type='path' for reposdir, since that's a path 9 years ago
Jasper Lievisse Adriaanse 3e31c2408d support for 'update_cache' in pkgin module 9 years ago
Brian Coca 7ef09ac889 Merge pull request #1919 from mscherer/fix_portage
Use boolean instead of "yes" + choice for most option
9 years ago
Michael Scherer 9853caa536 Use boolean instead of "yes" + choice for most option
This enable a more standard behavior with others modules
9 years ago
Michael Scherer 2e8cd5cd74 Use type 'path' for rootdir, for pkgng 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
Brian Coca 3b95400a59 change name to be a list type
remove implicit split that expects a , separated string, let list type
deal with multiple possible compatible input types.
also removed unused imports
9 years ago
Matthew Gamble a92a0e56f2 Remove dead code from pacman module
The manual check to see if get_bin_path() returned anything is
redundant, because we pass True to the required parameter of
get_bin_path(). This automatically causes the task to fail if the pacman
binary isn't available. Therefore, the code within the if statement
being removed is never called.
9 years ago
René Moser 267c332814 Merge pull request #1879 from mscherer/add_path_elastic_search
Add better type checking for elasticsearch_plugin
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
Michael Scherer 0df2191624 Add better type checking for elasticsearch_plugin 9 years ago
René Moser e4ed1fba0e Merge pull request #1495 from nwjsmith/patch-1
Allow numeric npm package versions
9 years ago
René Moser af9aaed64c Merge pull request #1662 from saez0pub/devel
Prevent reinstallation in case of group package
9 years ago
Will Keeling 282deb3291 Better handling of package groups in pacman module 9 years ago
saez0pub 6c7be7d97d Prevent reinstallation in case of group package 9 years ago
Toshio Kuratomi 9835b6a477 Fail due to no dnf module installed earlier as we use a dnf utility function to determine if we have permission to install packages. 9 years ago
Jiri Tyr 012085263f Removing parameter from yum_repository module 9 years ago
Toshio Kuratomi 95d54004af Merge pull request #1772 from jtyr/jtyr-yumrepo_new_params
Adding more options to the yum_repository module
9 years ago
Brian Coca f23baa2dda Merge pull request #1646 from k0ste/newfeature
pacman: fix recurse delete. Add force update_cache feature.
9 years ago
Jiri Tyr 23c4e8de4a Adding more options to the yum_repository module 9 years ago
Brian Coca fbd2b5937f Merge pull request #1570 from barryib/add_es2_support
Elasticsearch: Add ES 2.x support
9 years ago
Rene Moser 7c38f8ff75 doc: replace yumrepo with yum_repository 9 years ago
Rene Moser c5fa64998c rename yumrepo to yum_repository 9 years ago
Matt Martz 671c55da51 Indicate proxy_host and proxy_port were added in 2.1 9 years ago
Jan Chaloupka d011149baf 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
9 years ago
Matt Davis 8293068078 Merge pull request #1572 from barryib/elasticsearch_plugin_add_proxy_support
Elasticsearch: Add proxy support for plugin installation
9 years ago
Konstantin Shalygin 808177e2c9 Fix recurse delete. Add force update_cache feature. 9 years ago
Toshio Kuratomi 14a62fb5d6 Merge pull request #1415 from jtyr/jtyr-yumrepo_params
Adding params option into the yumrepo module
9 years ago
Toshio Kuratomi b1e9dc0b52 Allow dnf to remove dependent packages of a package that is being removed
Fixes #1517
9 years ago
Jiri Tyr 7f918b375f Adding params option into the yumrepo module 9 years ago
Thierno IB. BARRY 18729791ce update doc for proxy support
Update documentation to add proxy section
9 years ago
Thierno IB. BARRY 1066a7b4e3 Elasticsearch: Add proxy support
Add proxy support for plugin installation.
9 years ago
Thierno IB. BARRY aaa34b03c1 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
9 years ago
Daniel Jakots d24721f651 fix the spelling of vim's flavor in the example 9 years ago
Toshio Kuratomi 36be779888 Remove duplicate documentation fields 9 years ago
Brian Coca ad2208c7b5 Merge pull request #1201 from bonds/devel
add ports support to openbsd_pkg
9 years ago
Scott Bonds 2b69a2b14c add python 2.5 requirement and ansible 2.1 version_added 9 years ago
Scott Bonds 5b555b9347 add ports support in openbsd_pkg 9 years ago
lipanski bc66ba103f Fix: Rename gem_install_path to gem_path - as specified in the docs 9 years ago