Matthew Pherigo
5664da4c63
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.
8 years ago
Andrew Udvare
a59770e02d
Add support for emerge's --getbinpkg and --usepkgoonly
8 years ago
Daniel Newport
438a5a730e
use state=latest to ensure the latest version is installed. mimics functionality of the apt and yum modules.
8 years ago
Daniel Newport
3e7ab59eb4
fix pacman upgrade bug
8 years ago
Jonathan Mainguy
4fb54a068f
Addes login_port feature, similiar to how mysql_db.py works
8 years ago
Julien Pepy
de442415a0
Fix composer module checkmode and change detection
8 years ago
Peter Tan
e12f05ad48
Do not check for the image before calling gce.ex_create_image() or gce.ex_delete_image(), instead catching the ResourceExistsError or ResourceNotFoundError respectively.
8 years ago
Peter Tan
35a4212b5f
Address review comments from @sivel and @erjohnso
8 years ago
Peter Tan
42fbeda997
Add gce_img module for utilizing GCE image resources
8 years ago
Toshio Kuratomi
8c63ebcf5e
Move dnf and bower plugins to proper subdirs
8 years ago
Toshio Kuratomi
3876df5911
Make documentation of urpmi module force parameter clearer
8 years ago
Toshio Kuratomi
2a6b66053d
Reverse the default value of the bzr module force flags
8 years ago
Hiroshi Umehara
6c6b9d2b4d
Generalize locale name normalization
8 years ago
Hiroshi Umehara
0ac3592b92
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.
8 years ago
Rob White
e6eb7d47eb
Keep 'process' lowercase to protect against upstream changes
8 years ago
Rob White
ef8ca7c063
Changed status() to be case-sensitive of process
8 years ago
Giovanni Tirloni
ccd3044ea5
Fix dangerous use of empty list as default arg (mutable)
8 years ago
Toshio Kuratomi
bc5d5b1be1
Fix typo causing SyntaxError (missing colon)
8 years ago
Anders Ingemann
465d0483eb
Clear rabbitmq_user pw when none is specified
8 years ago
Toshio Kuratomi
7941681591
Fix documentation in zypper_repository
8 years ago
Justin Lecher
1f0b0ad3cd
Keep default behaviour for refresh
...
Signed-off-by: Justin Lecher <jlec@gentoo.org>
8 years ago
Justin Lecher
90f5e1925e
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>
8 years ago
Pierre-Louis Bonicoli
0df24a61c5
remove unused variable
8 years ago
Pierre-Louis Bonicoli
993da476a0
Avoid to use the builtin 'echo'
...
By default, the interpretation of escape characters could be disabled (bash)
or enabled (dash).
8 years ago
Alexander Gubin
99bcf18410
Fix lvol: Find LVM commands in PATH env
8 years ago
Toshio Kuratomi
389c6e7b5e
Allow 0 to be specified
8 years ago
Stanislav Antic
d881a01fec
Fixes #155
8 years ago
Bert Mertens
94bd5ec6d8
Fix getent behaviour with fail_key=False
8 years ago
Toshio Kuratomi
51c62c78b9
Fixes for docs building
8 years ago
Brian Coca
59f3bf6300
fixed doc bug
8 years ago
John Barker
c8590ec612
Add a note about debconf passwords always being recorded as changed
8 years ago
nmeum
883cd22821
Make sure portage doesn't ask for confirmation
...
If EMERGE_DEFAULT_OPTS in make.conf(5) contains '--ask' then the portage
module doesn't work correctly, this commit fixes that
8 years ago
Jeroen Thora
74d6c7fd06
Fixed small typo in zabbix group docs
8 years ago
net
64b53937ee
package file
8 years ago
Nikolai Lifanov
56c5507c21
fix at.py module on non-glibc systems
8 years ago
Alexander Gubin
117ae098ef
zypper: Fix gpg check option for state=latest. --no-gpg-checks is used in new and old zypper versions
8 years ago
Cosmo Petrich
9bcf232880
Remove default from 'permanent' and 'state' docs
...
These fields are both required, and thus do not actually have defaults.
8 years ago
Stein Inge Morisbak
b685cc32c0
Removed import of json. It is already imported in the common module.
8 years ago
Stein Inge Morisbak
5b56faeed2
Fall back to simplejson if ImportError on json
8 years ago
Brian Coca
701a85e7fc
revamp of gluster volume management also implemented deleting a volume
8 years ago
Michael Scherer
3dab019dca
Add a new option immediate= to immediately apply a permanent change
...
Currently, either you apply the change in the configuration
of firewalld ( without permanent=True ), or you apply it live.
I most of the time want to do the 2 at the same time, ie open the
port ( so I can use the service ) and make sure it stay open on reboot.
8 years ago
Jeroen Thora
26ae02b2f5
Small typo fix
8 years ago
Brian Coca
baf514957c
moved version added
8 years ago
Brian Coca
3ef53f92eb
minor cleanup, removing unused/redundant code, cleaned some comments, slight reformating in class to remove kwargs
8 years ago
Ravi Bhure
7e83da3480
Recorded the changes suggested by brian coca
8 years ago
Ravi Bhure
e0f0cc4049
used ansible conventions to use trigered action ==> state, now only two states are available enabled/disabled_ get weight for backend server, is default behavior for both state, supports set weight while enable server in lb pool
8 years ago
Ravi Bhure
a1c5149de3
Instead of action [enable_server,disable_server] we prefer to use state [enabled,disabled] [FIXED] misplaced the checkmode support (#L146) [FIXED] no need to check if host is not set as the argument spec (#L138), it should already complain about that [FIXED]
8 years ago
Ravi Bhure
6edde18f90
updated version 1.9 and moved haproxy module to network category
8 years ago
Ravi Bhure
594b5ce64b
Added module haproxy, to handle enable/disable backend server with shutdown_sessions feature in haproxy.
8 years ago
Brian Coca
9057295065
changed to use ansible standard 'name' instead of 'package'
8 years ago