Commit 4132f895 by Michael DeHaan

Fixup the rabbitmq YAML documentation so we can generate docs for it.

parent 5fd807ac
...@@ -24,7 +24,7 @@ module: rabbitmq_parameter ...@@ -24,7 +24,7 @@ module: rabbitmq_parameter
short_description: Adds or removes parameters to RabbitMQ short_description: Adds or removes parameters to RabbitMQ
description: description:
- Manage dynamic, cluster-wide parameters for RabbitMQ - Manage dynamic, cluster-wide parameters for RabbitMQ
version_added: 1.1 version_added: '1.1'
author: Chris Hoffman author: Chris Hoffman
options: options:
component: component:
...@@ -52,12 +52,14 @@ options: ...@@ -52,12 +52,14 @@ options:
- Specify if user is to be added or removed - Specify if user is to be added or removed
required: false required: false
default: present default: present
choices: [present, absent] choices: [ 'present', 'absent']
examples:
- code: rabbitmq_parameter: component=federation name=local-username value='"guest"' state=present
description: Add the federation parameter local_username to value of guest
''' '''
EXAMPLES = """
# Set the federation parameter 'local_username' to a value of 'guest' (in quotes)
rabbitmq_parameter: component=federation name=local-username value='"guest"' state=present
"""
class RabbitMqParameter(object): class RabbitMqParameter(object):
def __init__(self, module, component, name, value, vhost): def __init__(self, module, component, name, value, vhost):
self.module = module self.module = module
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment