Commit graph

3212 commits

Author SHA1 Message Date
Michael DeHaan
2530c113df Merge pull request #4934 from mscherer/fix_urpmi_2
return failed if a package couldn't be installed
2013-11-19 11:35:51 -08:00
James Martin
edb2129fb3 cloudformation parameters no longer required. 2013-11-19 14:17:23 -05:00
Michael DeHaan
db9176f77d Remove the 'host' module for now because the alias handling involves a bit too much automagic. Proposal is to come up with a spec
of how it should work and accept to spec, using the existing patch (cherry-picked) as a baseline.
2013-11-19 14:12:45 -05:00
Michael DeHaan
08996d78d6 Add version_added to all modules missing version_added information, the docs formatter will now
raise errors when omitted, updated changelog with new modules.
2013-11-18 18:55:49 -05:00
Michael DeHaan
55a48aacc3 Changelog updates and a few module renames. vpc -> ec2_vpc, githooks -> github_hooks, blacklist -> kernel_blacklist. These are all new in 1.4 so safe to change. 2013-11-18 18:28:21 -05:00
Michael DeHaan
59dd929bbf Update changelog, rename vpc module to ec2_vpc. 2013-11-18 17:59:40 -05:00
Sergey Sudakovich
8ecd617df8 compatible with python 2.4 2013-11-18 11:33:04 -08:00
Patrik Lundin
c237307b83 openbsd_pkg: rework package name parsing.
Give the module more knowledge of the package name structure.
This makes the handling of version-less flavors (like vim--no_x11)
behave properly.

While here sprinkle debug logging that is helpful when testing the
module.
2013-11-18 20:24:10 +01:00
James Tanner
d9147bc0e0 Fixes #4851 Set syslog debug mode for accelerate properly 2013-11-18 09:56:12 -05:00
giorgio-v
6a92db4060 Added -y flag to query_package
* library/packaging/pkgin:

Signed-off-by: giorgio-v <giorgio@refactor.it>
2013-11-18 08:01:10 +01:00
James Tanner
be065a77d1 Revert "Merge pull request #4912 from zehome/openbsd_pkg_flavourfix"
This reverts commit de2f4cf04d, reversing
changes made to 2c33737bfa.
2013-11-18 00:15:33 -05:00
Michael Scherer
b85d40d5ae return failed if a package couldn't be installed
For some reason, on my test mandriva, urpmi --force return 0
even when it cannot install a rpm. So we have to explicitely check
if the package was properly installed with a loop
2013-11-18 00:22:54 +01:00
Michael Scherer
1663f5bc06 optionally use rpm python module instead of calling a
external executable, to avoid the cost of forking.
Since python-rpm is not automatically present, we still fallback
on the slower rpm fork method.
2013-11-17 15:37:30 +01:00
Michael Scherer
aeac92de65 Fix behavior of urpmi module where it always return "changed"
even when a package is already installed, since urpmi will
always return 0 wether it install or not.
2013-11-17 15:37:30 +01:00
Tom Berger
9344bc175d Update cloud/docker: if the image name containes a repository, strip it.
When using repositories other than the main one at docker.io, the image name contains the repo name (which itself contains ":" as a separator between domain and port). We don't really care about it here, so just get rid of it before looking at the image name.
2013-11-16 23:15:03 +02:00
Michael DeHaan
eb70502c6c Merge pull request #4904 from joemaller/npm-outdated-fix
update npm-module to handle new node.js output
2013-11-16 10:40:51 -08:00
Matt Martz
f32bc12268 Remove debug print statement 2013-11-15 19:52:10 -06:00
jctanner
fb27ca9f0a Merge pull request #4919 from sivel/4577-rax-refactor
Refactor rax module. Fixes #4577
2013-11-15 12:20:13 -08:00
jctanner
f51f474111 Merge pull request #4918 from sivel/rax-facts
Add rax_facts module for retrieving facts about a Cloud Server
2013-11-15 12:13:37 -08:00
jctanner
f1647d56e3 Merge pull request #4861 from pmakowski/devel
urpmi module
2013-11-15 11:59:23 -08:00
James Tanner
9d30a5e6fe Fix docstring in bigip_monitor_tcp module 2013-11-15 14:44:53 -05:00
jctanner
e522b29edf Merge pull request #4849 from zimbatm/notify_grove
Adds a grove notifier module
2013-11-15 11:15:08 -08:00
jctanner
e18b09d346 Merge pull request #4832 from matze/add-zypper-repository
Add zypper_repository module
2013-11-15 11:13:50 -08:00
jctanner
182df34467 Merge pull request #4813 from sergevanginderachter/bigip_tcpmonitor
Introduce Big-IP F5 tcp monitor module
2013-11-15 11:10:52 -08:00
jctanner
ab54bce2f6 Merge pull request #4910 from matze/add-system-blacklist-module
Add system module to blacklist kernel modules
2013-11-15 11:06:05 -08:00
jctanner
c3cfda42ef Merge pull request #4913 from arkadijs/devel
Use pkgng glob (-g) feature to allow installation of packages by wildcard
2013-11-15 11:00:49 -08:00
jctanner
f82d4c18c7 Merge pull request #4914 from resmo/fix/module-host
host: bug fixes and improvments
2013-11-15 10:49:50 -08:00
Matt Martz
0aa71a19ab Refactor rax module 2013-11-15 12:25:21 -06:00
Matt Martz
7aaac10a00 follow suit with the rax refactor and split out the slugify code 2013-11-15 12:00:32 -06:00
James Tanner
b982a3d353 Clean up erroneous lineinfile.orig file 2013-11-15 12:17:17 -05:00
Matt Martz
40354d0775 Add rax_facts module for retrieving facts about a Cloud Server 2013-11-15 11:12:48 -06:00
jctanner
09f004675a Merge pull request #4912 from zehome/openbsd_pkg_flavourfix
OpenBSD packages can be installed using 'flavour'
2013-11-15 07:21:37 -08:00
James Tanner
c6c35087b4 Fix docstring and remove redundant parameter value in portinstall module 2013-11-15 10:13:19 -05:00
Rene Moser
b1f27ca902 host: fix bug, alias was not removed 2013-11-15 14:04:41 +01:00
Rene Moser
25f527a32d host: removed unused self_has_aliases 2013-11-15 14:04:40 +01:00
Rene Moser
ee9dc73a63 host: skip lines beginning with new line 2013-11-15 14:04:40 +01:00
Rene Moser
502d9f43e5 host: fix changed is not available on fail 2013-11-15 14:04:40 +01:00
Arkadi Shishlov
f922bf56bf Use pkgng glob (-g) feature to allow installation of packages by wildcard.
Also solves the particular problem of installing packages that have multiple versions in the repo, but specifying the exact version would be troublesome:

$ pkg install -n dovecot
The following 2 packages will be installed:

	Installing dovecot: 1.2.17
	Reinstalling dovecot-2.2.6 (options changed)

$ pkg install -n dovecot-2.2.6
The following 1 packages will be installed:

	Reinstalling dovecot-2.2.6 (options changed)

$ pkg install -n -g dovecot-2*
The following 1 packages will be installed:

	Reinstalling dovecot-2.2.6 (options changed)
2013-11-15 13:28:14 +02:00
Laurent Coustet
d9c3cf22dc OpenBSD packages can be installed using 'flavour'. Best example
is vim. It can be installed as vim--no_x11 or vim--gtk2.
2013-11-15 12:20:30 +01:00
Matthias Vogelgesang
6ce4635952 Add system module to blacklist kernel module 2013-11-15 10:34:55 +01:00
Berend de Boer
b53e4957da Support to install software on FreeBSD using portinstall. 2013-11-15 19:49:04 +13:00
jctanner
f6c97909cc Merge pull request #4888 from jarv/jarv/wait_for
Adding more wait conditions to the wait_for module
2013-11-14 12:52:00 -08:00
James Tanner
68c9fe3833 Fix copyright section in githooks module 2013-11-14 14:49:10 -05:00
jctanner
a4bd206f09 Merge pull request #4691 from cg-soft/git-bare-ref-repo-support
Add support for bare git reference repos
2013-11-14 10:39:57 -08:00
James Tanner
d2df80788d Quote docstring in githooks module 2013-11-14 13:20:17 -05:00
jctanner
51a6ed8657 Merge pull request #4731 from pcgentry/devel
new githooks module
2013-11-14 10:17:39 -08:00
jctanner
0ee5792849 Merge pull request #4785 from Tinche/get_url/uri-content-disposition
Modified the get_url module to respect the content-disposition header if...
2013-11-14 10:02:15 -08:00
James Tanner
eccbd21a0d Fix typo in postgresql_user module docstrings 2013-11-14 11:57:01 -05:00
jctanner
6336129f59 Merge pull request #4686 from bcoca/postgresql_user_pwds
postgresql_user now supports users w/o a password, encrypted passwords and expiration
2013-11-14 08:55:11 -08:00
jctanner
97ce9b022c Merge pull request #4510 from jhoekx/jboss-module
Add jboss module
2013-11-14 08:26:56 -08:00