From a6d02920d360ac06815dcf08f3350ba92088301d Mon Sep 17 00:00:00 2001 From: luke Date: Thu, 20 Oct 2005 20:54:17 +0000 Subject: adding better docs to packages git-svn-id: https://reductivelabs.com/svn/puppet/trunk@719 980ebf18-57e1-0310-9a29-db15c13687c0 --- lib/puppet/type/package.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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'. -- cgit