Commit graph

5486 commits

Author SHA1 Message Date
Jakub Jirutka
df01309351 Add new module "patch" 2015-02-09 01:00:06 +01:00
James Barwell
2ec916ad38 Fix argument parsing to module constructor
- Change to remove kwargs in a97d1016dc
  did not remove arguments passed in to the constructor.
2015-02-06 09:39:17 +00:00
Brian Coca
85dab364c9 Merge pull request #235 from mwpher/devel
pkgng: add 'batch' parameter
2015-02-04 10:17:15 -05:00
Brian Coca
dd681321b3 corrected version added 2015-02-03 22:31:46 -05:00
Brian Coca
9722203ee0 corrected version added 2015-02-03 22:30:19 -05:00
Matthew Pherigo
e909beb653 Make $BATCH=yes the default, remove module option 2015-02-03 15:43:24 -06:00
Matthew Pherigo
8ecb023939 pkgng: add 'batch' parameter
Some packages attempt to prompt the user for certain settings during
installation. Thus, this parameter sets the environment variable
$BATCH to 'yes', which forces package installation scripts to accept
default values for these interactive prompts. This should work for all
prompts that have a default value and aren't implemented through a
custom script (as this variable is built into the ports/package system).

FIXME: Package install should fail if it prompts and batch isn't set;
currently, the install hangs indefinitely.
TODO: Allow user to specify the answers to certain prompts.

I (github.com/mwpher) have NOT tested this with any packages besides
bsdstats. It's a small improvement, but not a complete answer to all
the complexities of package installation.
2015-02-03 13:22:21 -06:00
Brian Coca
77485f6c6a Merge pull request #49 from Tatsh-ansible/add-portage-binhost
Add support for emerge's --getbinpkg and --usepkgoonly
2015-02-03 08:40:29 -05:00
Andrew Udvare
5a6de937cb Add support for emerge's --getbinpkg and --usepkgoonly 2015-02-03 05:16:28 -08:00
Julien Pepy
e1008059ec Clean options building in Composer module 2015-02-03 13:54:27 +01:00
Brian Coca
f948fcc0c7 Merge pull request #193 from newportd/pacman-upgrade-bug
fix pacman upgrade bug
2015-02-03 07:45:38 -05:00
Brian Coca
6a3bba3ecc Merge pull request #21 from Jmainguy/mysql_replication_login_port
Adds login_port feature, similiar to how mysql_db.py works
2015-02-03 07:34:16 -05:00
Brian Coca
a951bf63e7 Merge pull request #19 from komuta/fix-composer-dryrun
Fix composer module checkmode
2015-02-03 07:33:30 -05:00
Eric Johnson
ed35fc69bf Merge pull request #229 from tanpeter/add_gce_img
Add gce_img module for utilizing GCE image resources
2015-02-02 08:07:33 -08:00
Dagobert Michelsen
df5e1946aa Correctly report "changed: false" when trying to install a package not in the catalog. This fixes #230 2015-01-31 22:12:40 +01:00
Toshio Kuratomi
41d5029012 Move dnf and bower plugins to proper subdirs 2015-01-30 07:34:46 -08:00
Peter Tan
9b64cf6797 Do not check for the image before calling gce.ex_create_image() or gce.ex_delete_image(), instead catching the ResourceExistsError or ResourceNotFoundError respectively. 2015-01-30 00:47:47 -08:00
Toshio Kuratomi
ec599b2ecc Make documentation of urpmi module force parameter clearer 2015-01-29 18:50:08 -08:00
Toshio Kuratomi
ceaaa36f16 Reverse the default value of the bzr module force flags 2015-01-29 18:21:21 -08:00
Robin Roth
23495a16f4 fixed tab/space mix 2015-01-29 10:32:09 +01:00
Peter Tan
5ab2dcf76a Address review comments from @sivel and @erjohnso 2015-01-28 11:19:06 -08:00
Peter Tan
d0382bda00 Add gce_img module for utilizing GCE image resources 2015-01-27 16:22:46 -08:00
Peter Oliver
e1e861fa35 Add another example. 2015-01-26 21:11:38 +00:00
Peter Oliver
3524330e5d Fix idempotency when removing packages.
If the package is already not present, then we have nothing to do.
2015-01-25 15:44:32 +00:00
Peter Oliver
2eae1820ff Tweak documentation. 2015-01-25 15:42:52 +00:00
Misho Krastev
d11e36589a Merge branch 'upstream_devel' into devel
Conflicts:
	system/lvol.py
2015-01-24 22:13:53 -08:00
Steve Gargan
ea6c887d6c Initial commit of Ansible support for the Consul clustering framework (http://consul.io).
Submission includes support for
 - creating and registering services and checks
 - reading, writing and lookup for values in consul's kv store
 - creating and manipulating sessions for distributed locking on values in the kv
 - creating and manipulating ACLs for restricting access to the kv store
 - inventory support that reads the Consul catalog and group nodes according to
     - datacenters
     - exposed services
     - service availability
     - arbitrary groupings from the kv store

This submission makes extensive use of the python-consul library and this is required
as a dependency and can be installed from pip.

The tests were written to target a vagrant cluster which can be setup by following the
instructions here http://github.com/sgargan/consul-vagrant
2015-01-24 01:33:53 +00:00
Brian Coca
21126a4af3 Merge pull request #214 from zinrai/devel
Add EUC-JP locale name normalization
2015-01-22 16:01:47 -05:00
Hiroshi Umehara
759e032473 Generalize locale name normalization 2015-01-22 12:07:10 +09:00
Rob White
adb1f0a1c8 Convert symlinks specified in pvs to actual path 2015-01-22 13:37:37 +11:00
Brian Coca
73bdc396a3 Merge pull request #216 from wimnat/devel
Changed status() to be case-sensitive of process
2015-01-21 19:31:02 -05:00
Rob White
13285765a8 Keep 'process' lowercase to protect against upstream changes 2015-01-22 11:26:00 +11:00
Rob White
0f45029827 Changed status() to be case-sensitive of process 2015-01-22 11:01:33 +11:00
Hiroshi Umehara
42f79478a7 Add EUC-JP locale name normalization
The function normalizes checks for UTF-8, but the same issue exists for
other locales as well.  This fix adds normalization for EUC-JP, a Japanese
locale.
2015-01-21 16:10:12 +09:00
Toshio Kuratomi
70ccadc611 Merge pull request #212 from gtirloni/nagios-fixes
nagios.py - fix use of empty list as default value in function argument
2015-01-20 18:06:43 -08:00
Giovanni Tirloni
5ae3bbaf05 Fix dangerous use of empty list as default arg (mutable) 2015-01-20 12:35:13 -05:00
Toshio Kuratomi
2396f36f11 Fix typo causing SyntaxError (missing colon) 2015-01-19 09:40:04 -08:00
Brian Coca
edef1c8484 Merge pull request #204 from andsens/rabbitmq-clear-user-pw
Clear rabbitmq_user pw when none is specified
2015-01-19 11:47:39 -05:00
Anders Ingemann
3795ab0379 Clear rabbitmq_user pw when none is specified 2015-01-16 14:32:08 +01:00
Brian Coca
0e79910f02 Merge pull request #201 from j-carl/patch-1
Fix typo
2015-01-15 11:23:17 -05:00
Jens Carl
e529279fea Fix typo
Fix typo and remove an obsolete space.
2015-01-15 16:15:17 +00:00
Toshio Kuratomi
16d622aab8 Fix documentation in zypper_repository 2015-01-14 20:49:44 -08:00
Brian Coca
86f2124c0d Merge pull request #191 from jlec/zypper_repo_refresh
Allow disabling of autorefresh for zypper repositories
2015-01-14 10:03:41 -05:00
Justin Lecher
8658b6783a
Keep default behaviour for refresh
Signed-off-by: Justin Lecher <jlec@gentoo.org>
2015-01-14 15:50:18 +01:00
Brian Coca
1fdd4bbc8f Merge pull request #198 from pilou-/avoid_using_echo
Avoid to use the builtin 'echo'  and remove unused variable
2015-01-12 13:23:55 -05:00
Pierre-Louis Bonicoli
40298a8f24 remove unused variable 2015-01-12 19:02:30 +01:00
Pierre-Louis Bonicoli
25f595c2ba Avoid to use the builtin 'echo'
By default, the interpretation of escape characters could be disabled (bash)
or enabled (dash).
2015-01-12 18:52:25 +01:00
Alexander Gubin
e15fba5156 lvol: Cast size(LogicalVolumeSize) to lower to fix the difference between lvs and lvcreate 2015-01-12 17:43:51 +01:00
Daniel Newport
2b1b3df40f use state=latest to ensure the latest version is installed. mimics functionality of the apt and yum modules. 2015-01-10 23:56:05 -05:00
Daniel Newport
8fa3e97d30 fix pacman upgrade bug 2015-01-10 10:40:03 -05:00