summaryrefslogtreecommitdiffstats
path: root/lib/puppet/reference/indirection.rb
diff options
context:
space:
mode:
authorJesse Wolfe <jes5199@gmail.com>2010-10-01 23:01:27 -0700
committerJesse Wolfe <jes5199@gmail.com>2010-10-02 01:08:42 -0700
commit3c34ea62687745156990f6d97460131b75e67c56 (patch)
tree227344db49a99edca1ca69ec3a2014205f573a6c /lib/puppet/reference/indirection.rb
parent9e66daa27ce65028f48dd13c67e066d3cc2c766a (diff)
parent7b8cb741596c7a20a25caf4250d86d7e1c24f319 (diff)
Partial merge to 2.6.2rc1 : Merge commit '7b8cb74' into next
There are merge conflicts with commits following this one.
Diffstat (limited to 'lib/puppet/reference/indirection.rb')
-rw-r--r--lib/puppet/reference/indirection.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/reference/indirection.rb b/lib/puppet/reference/indirection.rb
index 0cdbb2510..e5b076508 100644
--- a/lib/puppet/reference/indirection.rb
+++ b/lib/puppet/reference/indirection.rb
@@ -8,12 +8,12 @@ reference = Puppet::Util::Reference.newreference :indirection, :doc => "Indirect
Puppet::Indirector::Indirection.instances.sort { |a,b| a.to_s <=> b.to_s }.each do |indirection|
ind = Puppet::Indirector::Indirection.instance(indirection)
name = indirection.to_s.capitalize
- text += indirection.to_s + "\n" + ("-" * name.length) + "\n\n"
+ text += "## " + indirection.to_s + "\n\n"
text += ind.doc + "\n\n"
Puppet::Indirector::Terminus.terminus_classes(ind.name).sort { |a,b| a.to_s <=> b.to_s }.each do |terminus|
- text += terminus.to_s + "\n" + ("+" * terminus.to_s.length) + "\n\n"
+ text += "### " + terminus.to_s + "\n\n"
term_class = Puppet::Indirector::Terminus.terminus_class(ind.name, terminus)