Commit graph

7271 commits

Author SHA1 Message Date
Toshio Kuratomi
3c4f954f0f Don't raise or catch StandardError in amazon modules 2015-11-30 19:01:57 -08:00
Björn Andersson
72155d40a3 monit: Set a high timeout waiting for status changes
Instead of waiting for up to a certain number of retries we set a high
timeout and only re-check every five seconds. Certain services can
take a minute or more to start and we want to avoid waisting resources
by polling too often.
2015-11-29 23:44:58 +08:00
Björn Andersson
262f2e9048 monit: Add version_added and type for new argument 2015-11-29 22:21:38 +08:00
Björn Andersson
5835d06a4e monit: Wait for pending state changes for reloads
@mpeters reported that we're not checking that the named service is
actually there after a reload. And that sometimes monit doesn't actually
return anything at all after a reload.
2015-11-29 22:21:38 +08:00
Björn Andersson + SU Sheng Loong
f8fe5a2fcd monit: Add retry for pending/initializing services
If there are already ongoing actions for a process managed by monit, the
module would exit unsuccessfully. It could also give off false positives
because it did not determine whether the service was started/stopped
when it was in a pending state. Which might be turning the service off,
but the action was to start it.

For example "Running - pending stop" would be regarded as the service
running and "state=enabled" would do nothing.

This will make Ansible wait for the state to finalize, or a timeout decided
by the new `max_retries` option, before it decides what to do.

This fixes issue #244.
2015-11-29 22:21:38 +08:00
Brian Coca
60dd37d15f Merge pull request #1291 from Mogztter/issue-1290
documents missing limit_type choice "-"
2015-11-27 12:56:24 -08:00
Guido Lorenz
d51950c37e win_chocolatey: Clean up documentation 2015-11-27 16:33:17 +01:00
Guido Lorenz
5948389d2f win_chocolatey: Add install_args, params and ignoredependencies 2015-11-27 16:33:10 +01:00
GUILLAUME GROSSETIE
c28a0031bb Resolves #1290, Adds limit_type choice "-" 2015-11-26 11:37:59 +01:00
Brian Coca
0c1d20865d Merge pull request #1250 from resmo/for-ansible
cloudstack: new module cs_volume
2015-11-25 13:38:22 -08:00
Adam Keech
42efef5682 Appending "Registry::" is not needed and no longer works. 2015-11-25 11:41:02 -05:00
Brian Coca
767ec29640 Merge pull request #1260 from xavpaice/devel
Added stdout and stderr to puppet output for rc=2
2015-11-24 12:51:14 -08:00
Rene Moser
87065005aa cloudstack: new module cs_volume 2015-11-24 19:04:13 +01:00
Brian Coca
c978f4b332 updated version added 2015-11-24 09:55:27 -08:00
Brian Coca
cde758332a Merge pull request #971 from atplanet/bug/vpc-subnet-tag-values-not-updating
Ensure tag values get updated in ec2_vpc_subnet
2015-11-23 09:54:20 -08:00
Brian Coca
2775be99d3 Merge pull request #1268 from ryansydnor/s3_bucket
Use boto normalized location for bucket creation
2015-11-23 09:40:00 -08:00
Matt Davis
41f4793d17 Merge pull request #1267 from h0nIg/devel_win_updates
win_updates: fix race condition and missing property
2015-11-23 09:28:48 -08:00
Brian Coca
0298f47df9 Merge pull request #1016 from jtyr/yumrepo
Adding yumrepo module
2015-11-20 16:39:09 -08:00
Brian Coca
367b88a2ab removed json import 2015-11-21 16:07:12 -08:00
Jiri tyr
b9bb6d8d29 Adding yumrepo module
This patch is adding a new module which allows to add and remove YUM
repository definitions. The module implements all repository options
as described in the `yum.conf` manual page.
2015-11-21 00:23:37 +00:00
Toshio Kuratomi
b87e3ce362 Quote strings that make the module docs fail to build 2015-11-20 13:57:58 -08:00
Toshio Kuratomi
19374903ac Switch StrictVersion for LooseVersion since some distros ship
beta versions and StrictVersion would fail on that.

Also clean up some minor style things
2015-11-20 12:36:36 -08:00
Toshio Kuratomi
d3f0d3880c Merge pull request #444 from olsaki/devel
Add docker_login module
2015-11-20 12:25:25 -08:00
Olaf Kilian
c629d5b013 Add requirement and check for compatible version of docker-py 2015-11-20 21:05:19 +01:00
Olaf Kilian
66964f660a Set no_log for password argument 2015-11-20 20:25:50 +01:00
Ryan Sydnor
a56fe04683 Use boto normalized location for bucket creation
If a bucket is being created in us-east-1, the module passed
'us-east-1' to boto's s3.create_bucket method rather than
Location.DEFAULT (an empty string). This caused boto to generate
invalid XML which AWS was unable to interpret.
2015-11-20 13:55:46 -05:00
Hans-Joachim Kliemeck
a59f1f528e fix race condition and missing property 2015-11-20 09:08:42 +01:00
Guido Günther
11e8a17684 zypper: Add returncode to result
This will be used in integration tssts and makes the whole thing
more similar to the yum module.
2015-11-18 17:49:34 +01:00
Xav Paice
c1cf8e671a Added stdout and stderr to puppet output for rc=2 2015-11-18 14:34:46 +13:00
Brian Coca
7da1f8d4ca Merge pull request #1228 from romainrbr/iptables-ctstate-to-state
Editing iptable module to use -m state --state instead of -m conntrack --ctstate
2015-11-17 09:32:20 -08:00
Brian Coca
444155ce13 Merge pull request #1254 from agireud/os_project_fix
Fix return documentation
2015-11-16 15:40:14 -08:00
Alberto Gireud
c9e4c32f41 Fix return documentation 2015-11-16 17:31:53 -06:00
Brian Coca
aa859f6331 Merge pull request #1220 from agireud/os_project
Add openstack project module
2015-11-16 15:04:34 -08:00
Brian Coca
f19ceaa711 Merge pull request #1252 from defionscode/devel
Sendgrid docs fix
2015-11-16 14:00:20 -08:00
Jonathan Davila
39a3255ef3 Sendgrid docs fix 2015-11-16 16:54:35 -05:00
Brian Coca
875a055103 corrected choices which was meant to be type 2015-11-15 14:31:34 -08:00
James Cammarata
e5362cc76a Version bump for new beta 2.0.0-0.5.beta3 2015-11-13 16:47:22 -05:00
Brian Coca
cf7db64575 Merge pull request #1238 from Jmainguy/irc_colors
IRC module: Added style= and more colors.
2015-11-12 22:03:55 -08:00
Jonathan Mainguy
19b506f64f Added style= and more colors. 2015-11-12 22:49:41 -05:00
Dylan Martin
b0298ba4f1 added version option 2015-11-12 14:38:15 -06:00
Toshio Kuratomi
e52e015791 Documentation fixes 2015-11-11 12:38:51 -08:00
Toshio Kuratomi
1ddc3211a3 Merge pull request #832 from yaegashi/module-blockinfile
New module: blockinfile
2015-11-11 12:32:39 -08:00
Toshio Kuratomi
1de3509f3b Merge pull request #1053 from indrajitr/homebrew-path-support
homebrew: Add explicit documentation for 'path' argument (with expected default)
2015-11-11 11:58:00 -08:00
Toshio Kuratomi
08fb2d340c Merge pull request #1132 from caduri/devel
[Bug] exchange name contains chars that needs to be quoted
2015-11-11 11:56:13 -08:00
Toshio Kuratomi
949610bbce Merge pull request #1202 from joelthompson/feature/sns_topic
Add sns_topic module to manage AWS SNS topics
2015-11-11 11:25:57 -08:00
Toshio Kuratomi
0270d104d1 Merge pull request #1203 from Etherdaemon/new_route53_facts_module
New Route53 facts module
2015-11-11 11:24:30 -08:00
Toshio Kuratomi
e1b9788f7b Merge pull request #1208 from h0nIg/devel_win_nssm
win_nssm: account get fix
2015-11-11 11:22:39 -08:00
Toshio Kuratomi
16b1e39c97 Merge pull request #1222 from grypyrg/devel
mysql_replication: including error number and code
2015-11-11 11:21:05 -08:00
Toshio Kuratomi
ae94b71fb8 Merge pull request #1232 from robinro/patch-1
better cope with rpm not returning package name
2015-11-11 11:20:27 -08:00
Robin Roth
9f02fbe072 better cope with rpm not returning package name
if the rpm query is missing a package name (or giving some error): fail soft

before the patch: the module fails because the installed_state dict is missing the package name

after the patch: the missing package is assumed to not be in the correct state and is installed/removed with zypper
2015-11-11 11:57:11 +01:00