diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2005-10-20 20:54:17 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2005-10-20 20:54:17 +0000 |
commit | a6d02920d360ac06815dcf08f3350ba92088301d (patch) | |
tree | 5dc825709bd73d5cefcc02527e0530a8a950aaea | |
parent | 3cd8ee9186ee0f0cc2127e5598aeebde41e70e5d (diff) | |
download | puppet-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
-rw-r--r-- | lib/puppet/type/package.rb | 6 |
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'. |