From 4c35b7f380334df0ca1775abc8fe31a097d1c3a2 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. --- cloud/virt | 2 +- commands/command | 1 + commands/shell | 2 +- database/mysql_db | 2 +- database/mysql_user | 2 +- database/postgresql_db | 2 +- database/postgresql_user | 2 +- files/assemble | 2 +- files/fetch | 2 +- internal/async_status | 2 +- network/get_url | 2 +- packaging/apt | 2 +- packaging/yum | 1 + system/authorized_key | 2 +- system/facter | 2 +- system/group | 2 +- system/mount | 2 +- system/ohai | 2 +- system/user | 2 +- 19 files changed, 19 insertions(+), 17 deletions(-) diff --git a/cloud/virt b/cloud/virt index cf030902cea..69dcf055366 100644 --- a/cloud/virt +++ b/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/commands/command b/commands/command index a90e4ef0907..707ec325a6b 100644 --- a/commands/command +++ b/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/commands/shell b/commands/shell index 2fb54549f0e..5b3969a1fb1 100644 --- a/commands/shell +++ b/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/database/mysql_db b/database/mysql_db index 7e065ae3b88..9f929923432 100644 --- a/database/mysql_db +++ b/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/database/mysql_user b/database/mysql_user index 1e248cb7594..9758939a7a1 100644 --- a/database/mysql_user +++ b/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/database/postgresql_db b/database/postgresql_db index cc0d941faa1..f7274da8846 100644 --- a/database/postgresql_db +++ b/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/database/postgresql_user b/database/postgresql_user index cfc2c7c55bb..b6a4047b4ec 100644 --- a/database/postgresql_user +++ b/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/files/assemble b/files/assemble index f5f71612b26..93779235c98 100644 --- a/files/assemble +++ b/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/files/fetch b/files/fetch index 61919d338f5..5b47d87a856 100644 --- a/files/fetch +++ b/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/internal/async_status b/internal/async_status index 7df9f8ff520..79647da113d 100644 --- a/internal/async_status +++ b/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/network/get_url b/network/get_url index db702368a50..11e520b53a0 100644 --- a/network/get_url +++ b/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/packaging/apt b/packaging/apt index 38a9061a256..403ce0ea960 100644 --- a/packaging/apt +++ b/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/packaging/yum b/packaging/yum index b3ff2fd8e31..536c7e50405 100644 --- a/packaging/yum +++ b/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/system/authorized_key b/system/authorized_key index 64e2fcdc423..a503e9cc021 100644 --- a/system/authorized_key +++ b/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/system/facter b/system/facter index cd24717e44c..ef0bdc850b4 100644 --- a/system/facter +++ b/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/system/group b/system/group index 38b2a722941..2b19fab18b6 100644 --- a/system/group +++ b/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/system/mount b/system/mount index c5092d6d194..384cd976079 100644 --- a/system/mount +++ b/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/system/ohai b/system/ohai index b414693ce0d..fc7704898cb 100644 --- a/system/ohai +++ b/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/system/user b/system/user index ef4e15d42c7..4d1699e4ee0 100644 --- a/system/user +++ b/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: