From aaf766595bffb0a0843a70bffe95bd4edb3802a0 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Mon, 24 Feb 2014 20:48:15 -0600 Subject: [PATCH] Use PluginLoader for module docs fragments --- cloud/rax | 4 +++- cloud/rax_clb | 4 +++- cloud/rax_clb_nodes | 4 +++- cloud/rax_dns | 4 +++- cloud/rax_dns_record | 4 +++- cloud/rax_facts | 4 +++- cloud/rax_files | 4 +++- cloud/rax_files_objects | 4 +++- cloud/rax_keypair | 4 +++- cloud/rax_network | 4 +++- cloud/rax_queue | 4 +++- 11 files changed, 33 insertions(+), 11 deletions(-) diff --git a/cloud/rax b/cloud/rax index 387640753cd..248790037eb 100644 --- a/cloud/rax +++ b/cloud/rax @@ -14,6 +14,8 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . +# This is a DOCUMENTATION stub specific to this module, it extends +# a documentation fragment located in ansible.utils.module_docs_fragments DOCUMENTATION = ''' --- module: rax @@ -129,7 +131,7 @@ options: - how long before wait gives up, in seconds default: 300 author: Jesse Keating, Matt Martz -extends_documentation_fragment: RACKSPACE_AND_OPENSTACK +extends_documentation_fragment: rackspace.openstack ''' EXAMPLES = ''' diff --git a/cloud/rax_clb b/cloud/rax_clb index b462908d540..dbc7f85b196 100644 --- a/cloud/rax_clb +++ b/cloud/rax_clb @@ -14,6 +14,8 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . +# This is a DOCUMENTATION stub specific to this module, it extends +# a documentation fragment located in ansible.utils.module_docs_fragments DOCUMENTATION = ''' --- module: rax_clb @@ -102,7 +104,7 @@ options: - how long before wait gives up, in seconds default: 300 author: Christopher H. Laco, Matt Martz -extends_documentation_fragment: RACKSPACE +extends_documentation_fragment: rackspace ''' EXAMPLES = ''' diff --git a/cloud/rax_clb_nodes b/cloud/rax_clb_nodes index 38b4d752676..fb12967ec1d 100644 --- a/cloud/rax_clb_nodes +++ b/cloud/rax_clb_nodes @@ -14,6 +14,8 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . +# This is a DOCUMENTATION stub specific to this module, it extends +# a documentation fragment located in ansible.utils.module_docs_fragments DOCUMENTATION = ''' --- module: rax_clb_nodes @@ -84,7 +86,7 @@ options: description: - Weight of node author: Lukasz Kawczynski -extends_documentation_fragment: RACKSPACE +extends_documentation_fragment: rackspace ''' EXAMPLES = ''' diff --git a/cloud/rax_dns b/cloud/rax_dns index d63a9aeaa09..7ed2c926d6f 100644 --- a/cloud/rax_dns +++ b/cloud/rax_dns @@ -14,6 +14,8 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . +# This is a DOCUMENTATION stub specific to this module, it extends +# a documentation fragment located in ansible.utils.module_docs_fragments DOCUMENTATION = ''' --- module: rax_dns @@ -43,7 +45,7 @@ options: - Time to live of domain in seconds default: 3600 author: Matt Martz -extends_documentation_fragment: RACKSPACE +extends_documentation_fragment: rackspace ''' EXAMPLES = ''' diff --git a/cloud/rax_dns_record b/cloud/rax_dns_record index ca5b24de1e8..51dc26b779f 100644 --- a/cloud/rax_dns_record +++ b/cloud/rax_dns_record @@ -14,6 +14,8 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . +# This is a DOCUMENTATION stub specific to this module, it extends +# a documentation fragment located in ansible.utils.module_docs_fragments DOCUMENTATION = ''' --- module: rax_dns_record @@ -66,7 +68,7 @@ options: - TXT default: A author: Matt Martz -extends_documentation_fragment: RACKSPACE +extends_documentation_fragment: rackspace ''' EXAMPLES = ''' diff --git a/cloud/rax_facts b/cloud/rax_facts index 655b1bbf199..f71982f4243 100644 --- a/cloud/rax_facts +++ b/cloud/rax_facts @@ -14,6 +14,8 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . +# This is a DOCUMENTATION stub specific to this module, it extends +# a documentation fragment located in ansible.utils.module_docs_fragments DOCUMENTATION = ''' --- module: rax_facts @@ -34,7 +36,7 @@ options: - Server name to retrieve facts for default: null author: Matt Martz -extends_documentation_fragment: RACKSPACE_AND_OPENSTACK +extends_documentation_fragment: rackspace.openstack ''' EXAMPLES = ''' diff --git a/cloud/rax_files b/cloud/rax_files index 66dc1b91be5..bdb11a661f5 100644 --- a/cloud/rax_files +++ b/cloud/rax_files @@ -17,6 +17,8 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . +# This is a DOCUMENTATION stub specific to this module, it extends +# a documentation fragment located in ansible.utils.module_docs_fragments DOCUMENTATION = ''' --- module: rax_files @@ -75,7 +77,7 @@ options: description: - Sets an object to be presented as the HTTP index page when accessed by the CDN URL author: Paul Durivage -extends_documentation_fragment: RACKSPACE +extends_documentation_fragment: rackspace ''' EXAMPLES = ''' diff --git a/cloud/rax_files_objects b/cloud/rax_files_objects index ef229d7a95b..9002291ceff 100644 --- a/cloud/rax_files_objects +++ b/cloud/rax_files_objects @@ -17,6 +17,8 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . +# This is a DOCUMENTATION stub specific to this module, it extends +# a documentation fragment located in ansible.utils.module_docs_fragments DOCUMENTATION = ''' --- module: rax_files_objects @@ -91,7 +93,7 @@ options: - meta default: file author: Paul Durivage -extends_documentation_fragment: RACKSPACE +extends_documentation_fragment: rackspace ''' EXAMPLES = ''' diff --git a/cloud/rax_keypair b/cloud/rax_keypair index fa195fc0d59..6a42e3c99f9 100644 --- a/cloud/rax_keypair +++ b/cloud/rax_keypair @@ -14,6 +14,8 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . +# This is a DOCUMENTATION stub specific to this module, it extends +# a documentation fragment located in ansible.utils.module_docs_fragments DOCUMENTATION = ''' --- module: rax_keypair @@ -41,7 +43,7 @@ author: Matt Martz notes: - Keypairs cannot be manipulated, only created and deleted. To "update" a keypair you must first delete and then recreate. -extends_documentation_fragment: RACKSPACE_AND_OPENSTACK +extends_documentation_fragment: rackspace.openstack ''' EXAMPLES = ''' diff --git a/cloud/rax_network b/cloud/rax_network index 566016dde64..ac3aca6991e 100644 --- a/cloud/rax_network +++ b/cloud/rax_network @@ -14,6 +14,8 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . +# This is a DOCUMENTATION stub specific to this module, it extends +# a documentation fragment located in ansible.utils.module_docs_fragments DOCUMENTATION = ''' --- module: rax_network @@ -38,7 +40,7 @@ options: - cidr of the network being created default: null author: Christopher H. Laco, Jesse Keating -extends_documentation_fragment: RACKSPACE_AND_OPENSTACK +extends_documentation_fragment: rackspace.openstack ''' EXAMPLES = ''' diff --git a/cloud/rax_queue b/cloud/rax_queue index 0faceb128d4..7388c4ed81d 100644 --- a/cloud/rax_queue +++ b/cloud/rax_queue @@ -14,6 +14,8 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . +# This is a DOCUMENTATION stub specific to this module, it extends +# a documentation fragment located in ansible.utils.module_docs_fragments DOCUMENTATION = ''' --- module: rax_queue @@ -34,7 +36,7 @@ options: - absent default: present author: Christopher H. Laco, Matt Martz -extends_documentation_fragment: RACKSPACE +extends_documentation_fragment: rackspace ''' EXAMPLES = '''