summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2005-10-20 20:54:17 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2005-10-20 20:54:17 +0000
commita6d02920d360ac06815dcf08f3350ba92088301d (patch)
tree5dc825709bd73d5cefcc02527e0530a8a950aaea /lib
parent3cd8ee9186ee0f0cc2127e5598aeebde41e70e5d (diff)
downloadpuppet-a6d02920d360ac06815dcf08f3350ba92088301d.tar.gz
puppet-a6d02920d360ac06815dcf08f3350ba92088301d.tar.xz
puppet-a6d02920d360ac06815dcf08f3350ba92088301d.zip
adding better docs to packages
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@719 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/type/package.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/puppet/type/package.rb b/lib/puppet/type/package.rb
index 098fff48e..ab5b797c6 100644
--- a/lib/puppet/type/package.rb
+++ b/lib/puppet/type/package.rb
@@ -16,7 +16,11 @@ module Puppet
class PackageInstalled < Puppet::State
@name = :install
- @doc = "What state the package should be in. *true*/*false*/*latest*"
+ @doc = "What state the package should be in. Specifying *true* will
+ only result in a change if the package is not installed at all; use
+ *latest* to keep the package (and, depending on the package system, its
+ prerequisites) up to date. Specifying *false* will uninstall the
+ package if it is installed. *true*/*false*/*latest*/``version``"
# Override the parent method, because we've got all kinds of
# funky definitions of 'in sync'.