From 36effd237c4f54199c14f21ef570c47a7b2dfe8f Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Wed, 27 Nov 2013 21:23:03 -0500 Subject: [PATCH] There's a cleaner way to do this, commit to module formatter pending. Revert "No longer need to reference 'version_added' in docs for these, as this was quite a while ago." This reverts commit ff0a41d446a03f93aa57a6baa96c5333bea269ea. --- library/cloud/virt | 2 +- library/commands/command | 1 + library/commands/shell | 2 +- library/database/mysql_db | 2 +- library/database/mysql_user | 2 +- library/database/postgresql_db | 2 +- library/database/postgresql_user | 2 +- library/files/assemble | 2 +- library/files/fetch | 2 +- library/internal/async_status | 2 +- library/network/get_url | 2 +- library/packaging/apt | 2 +- library/packaging/yum | 1 + library/system/authorized_key | 2 +- library/system/facter | 2 +- library/system/group | 2 +- library/system/mount | 2 +- library/system/ohai | 2 +- library/system/user | 2 +- 19 files changed, 19 insertions(+), 17 deletions(-) diff --git a/library/cloud/virt b/library/cloud/virt index cf030902cea..69dcf055366 100644 --- a/library/cloud/virt +++ b/library/cloud/virt @@ -21,7 +21,7 @@ module: virt short_description: Manages virtual machines supported by libvirt description: - Manages virtual machines supported by I(libvirt). -version_added: historical +version_added: "0.2" options: name: description: diff --git a/library/commands/command b/library/commands/command index a90e4ef0907..707ec325a6b 100644 --- a/library/commands/command +++ b/library/commands/command @@ -56,6 +56,7 @@ options: chdir: description: - cd into this directory before running the command + version_added: "0.6" required: false default: null executable: diff --git a/library/commands/shell b/library/commands/shell index 2fb54549f0e..5b3969a1fb1 100644 --- a/library/commands/shell +++ b/library/commands/shell @@ -10,7 +10,7 @@ description: - The shell module takes the command name followed by a list of arguments, space delimited. It is almost exactly like the M(command) module but runs the command through a shell (C(/bin/sh)) on the remote node. -version_added: historical +version_added: "0.2" options: (free form): description: diff --git a/library/database/mysql_db b/library/database/mysql_db index 7e065ae3b88..9f929923432 100644 --- a/library/database/mysql_db +++ b/library/database/mysql_db @@ -25,7 +25,7 @@ module: mysql_db short_description: Add or remove MySQL databases from a remote host. description: - Add or remove MySQL databases from a remote host. -version_added: historical +version_added: "0.6" options: name: description: diff --git a/library/database/mysql_user b/library/database/mysql_user index 1e248cb7594..9758939a7a1 100644 --- a/library/database/mysql_user +++ b/library/database/mysql_user @@ -24,7 +24,7 @@ module: mysql_user short_description: Adds or removes a user from a MySQL database. description: - Adds or removes a user from a MySQL database. -version_added: historical +version_added: "0.6" options: name: description: diff --git a/library/database/postgresql_db b/library/database/postgresql_db index cc0d941faa1..f7274da8846 100644 --- a/library/database/postgresql_db +++ b/library/database/postgresql_db @@ -22,7 +22,7 @@ module: postgresql_db short_description: Add or remove PostgreSQL databases from a remote host. description: - Add or remove PostgreSQL databases from a remote host. -version_added: historical +version_added: "0.6" options: name: description: diff --git a/library/database/postgresql_user b/library/database/postgresql_user index cfc2c7c55bb..b6a4047b4ec 100644 --- a/library/database/postgresql_user +++ b/library/database/postgresql_user @@ -34,7 +34,7 @@ description: the module to try to remove the user, but if not possible keep going; the module will report if changes happened and separately if the user was removed or not. -version_added: historical +version_added: "0.6" options: name: description: diff --git a/library/files/assemble b/library/files/assemble index f5f71612b26..93779235c98 100644 --- a/library/files/assemble +++ b/library/files/assemble @@ -36,7 +36,7 @@ description: local or have already been transferred to the system, and concatenate them together to produce a destination file. Files are assembled in string sorting order. Puppet calls this idea I(fragments). -version_added: historical +version_added: "0.5" options: src: description: diff --git a/library/files/fetch b/library/files/fetch index 61919d338f5..5b47d87a856 100644 --- a/library/files/fetch +++ b/library/files/fetch @@ -10,7 +10,7 @@ description: organized by hostname. Note that this module is written to transfer log files that might not be present, so a missing remote file won't be an error unless fail_on_missing is set to 'yes'. -version_added: historical +version_added: "0.2" options: src: description: diff --git a/library/internal/async_status b/library/internal/async_status index 7df9f8ff520..79647da113d 100644 --- a/library/internal/async_status +++ b/library/internal/async_status @@ -25,7 +25,7 @@ module: async_status short_description: Obtain status of asynchronous task description: - "This module gets the status of an asynchronous task." -version_added: historical +version_added: "0.5" options: jid: description: diff --git a/library/network/get_url b/library/network/get_url index db702368a50..11e520b53a0 100644 --- a/library/network/get_url +++ b/library/network/get_url @@ -38,7 +38,7 @@ description: (see `setting the environment `_), or by using the use_proxy option. -version_added: historical +version_added: "0.6" options: url: description: diff --git a/library/packaging/apt b/library/packaging/apt index 38a9061a256..403ce0ea960 100644 --- a/library/packaging/apt +++ b/library/packaging/apt @@ -25,7 +25,7 @@ module: apt short_description: Manages apt-packages description: - Manages I(apt) packages (such as for Debian/Ubuntu). -version_added: historical +version_added: "0.0.2" options: pkg: description: diff --git a/library/packaging/yum b/library/packaging/yum index b3ff2fd8e31..536c7e50405 100644 --- a/library/packaging/yum +++ b/library/packaging/yum @@ -74,6 +74,7 @@ options: description: - The remote yum configuration file to use for the transaction. required: false + version_added: "0.6" default: null aliases: [] diff --git a/library/system/authorized_key b/library/system/authorized_key index 64e2fcdc423..a503e9cc021 100644 --- a/library/system/authorized_key +++ b/library/system/authorized_key @@ -27,7 +27,7 @@ module: authorized_key short_description: Adds or removes an SSH authorized key description: - Adds or removes an SSH authorized key for a user from a remote host. -version_added: historical +version_added: "0.5" options: user: description: diff --git a/library/system/facter b/library/system/facter index cd24717e44c..ef0bdc850b4 100644 --- a/library/system/facter +++ b/library/system/facter @@ -28,7 +28,7 @@ description: - Runs the I(facter) discovery program (U(https://github.com/puppetlabs/facter)) on the remote system, returning JSON data that can be useful for inventory purposes. -version_added: historical +version_added: "0.2" options: {} notes: [] requirements: [ "facter", "ruby-json" ] diff --git a/library/system/group b/library/system/group index 38b2a722941..2b19fab18b6 100644 --- a/library/system/group +++ b/library/system/group @@ -22,7 +22,7 @@ DOCUMENTATION = ''' --- module: group author: Stephen Fromm -version_added: historical +version_added: "0.0.2" short_description: Add or remove groups requirements: [ groupadd, groupdel, groupmod ] description: diff --git a/library/system/mount b/library/system/mount index c5092d6d194..384cd976079 100644 --- a/library/system/mount +++ b/library/system/mount @@ -26,7 +26,7 @@ module: mount short_description: Control active and configured mount points description: - This module controls active and configured mount points in C(/etc/fstab). -version_added: historical +version_added: "0.6" options: name: description: diff --git a/library/system/ohai b/library/system/ohai index b414693ce0d..fc7704898cb 100644 --- a/library/system/ohai +++ b/library/system/ohai @@ -28,7 +28,7 @@ description: (U(http://wiki.opscode.com/display/chef/Ohai)) on the remote host and returns JSON inventory data. I(Ohai) data is a bit more verbose and nested than I(facter). -version_added: historical +version_added: "0.6" options: {} notes: [] requirements: [ "ohai" ] diff --git a/library/system/user b/library/system/user index ef4e15d42c7..4d1699e4ee0 100644 --- a/library/system/user +++ b/library/system/user @@ -22,7 +22,7 @@ DOCUMENTATION = ''' --- module: user author: Stephen Fromm -version_added: historical +version_added: "0.2" short_description: Manage user accounts requirements: [ useradd, userdel, usermod ] description: