Perhaps like this?
--- >8 ---
From: Todd Zullinger <
t...@pobox.com>
Date: Fri, 4 Dec 2009 16:04:33 -0500
Subject: [PATCH/puppet] yumrepo: Clarify the name and descr parameters
Most parameters are identical between the yumrepo type and the yum
configuration files. The name and descr parameters are exceptions worth
noting in the documentation.
Signed-off-by: Todd Zullinger <
t...@pobox.com>
---
lib/puppet/type/yumrepo.rb | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/lib/puppet/type/yumrepo.rb b/lib/puppet/type/yumrepo.rb
index 39b9cd3..51ed17b 100644
--- a/lib/puppet/type/yumrepo.rb
+++ b/lib/puppet/type/yumrepo.rb
@@ -233,12 +233,14 @@ module Puppet
end
newparam(:name) do
- desc "The name of the repository."
+ desc "The name of the repository. This corresponds to the
+ repositoryid parameter in yum.conf(5)."
isnamevar
end
newproperty(:descr, :parent => Puppet::IniProperty) do
desc "A human readable description of the repository.
+ This corresponds to the name parameter in yum.conf(5).
#{ABSENT_DOC}"
newvalue(:absent) { self.should = :absent }
newvalue(/.*/) { }
--
1.6.6.rc1
--
Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL:
www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Does it follow that I reject all authority? Perish the thought. In the
matter of boots, I defer to the authority of the boot-maker.
-- Mikhail Bakunin