Commit graph

5263 commits

Author SHA1 Message Date
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
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
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
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
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
Brian Coca
ffa8abf979 Merge pull request #120 from alxgu/lvol_fix_path
Fix lvol: Find LVM commands in PATH env - Bugfix Pull Request
2015-01-09 16:04:45 -05:00
Justin Lecher
7248c0861d
Allow disabling of autorefresh for zypper repositories
In case of release repositories or other special cases you might not
need the autorefreshing of the repos. This patch adds a configure
option instead of hard enabling this.

Signed-off-by: Justin Lecher <jlec@gentoo.org>
2015-01-09 16:07:42 +01:00
Toshio Kuratomi
a32869d492 Allow 0 to be specified 2015-01-07 09:20:45 -08:00
Toshio Kuratomi
df240f7840 Merge pull request #186 from XooR/mysql_change_master_to_fix
Fixes #155 SQL Syntax Error with mysql_replication module
2015-01-07 09:17:32 -08:00
Brian Coca
f6b80fc31d Merge pull request #184 from daysofwineandroses/getent_fix
Fix getent behaviour with fail_key=False
2015-01-06 09:14:35 -05:00
Bert Mertens
3981872375 Fix getent behaviour with fail_key=False 2015-01-06 09:57:30 +01:00
Toshio Kuratomi
d4f5b6d41a Fixes for docs building 2015-01-05 08:40:57 -08:00