From 155f6e4dd3d597253e787c5eb191c6bde5d3dab8 Mon Sep 17 00:00:00 2001 From: Daniel Jaouen Date: Wed, 19 Feb 2014 17:06:58 -0500 Subject: [PATCH] Update homebrew documentation. --- library/packaging/homebrew | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/library/packaging/homebrew b/library/packaging/homebrew index 9609ce4068b..dcd2c048a98 100644 --- a/library/packaging/homebrew +++ b/library/packaging/homebrew @@ -22,7 +22,7 @@ DOCUMENTATION = ''' --- module: homebrew -author: Andrew Dunham +author: Andrew Dunham and Daniel Jaouen short_description: Package manager for Homebrew description: - Manages Homebrew packages @@ -35,7 +35,7 @@ options: state: description: - state of the package - choices: [ 'head', 'latest', 'installed', 'linked', 'uninstalled' ] + choices: [ 'head', 'latest', 'present', 'absent', 'linked', 'uninstalled' ] required: false default: present update_homebrew: @@ -44,6 +44,11 @@ options: required: false default: "no" choices: [ "yes", "no" ] + install_options: + description: + - options flags to install a package + required: false + default: null notes: [] ''' EXAMPLES = ''' @@ -55,6 +60,7 @@ EXAMPLES = ''' - homebrew: name=foo state=linked - homebrew: name=foo state=absent - homebrew: name=foo,bar state=absent +- homebrew: name=foo state=present install_options=with-baz,enable-debug ''' import os.path