diff options
| author | James Turnbull <james@lovedthanlost.net> | 2010-08-11 15:05:48 +1000 |
|---|---|---|
| committer | Markus Roberts <Markus@reality.com> | 2010-08-11 22:14:40 -0700 |
| commit | e4b2aa6e48af43e83e6954d9253ef9b38d8c36ae (patch) | |
| tree | c5175868eb0a07ac6bdb909e3607072f22400dc9 /lib/puppet/application | |
| parent | 8ddea2afba170a3d3e1e2917a049dfa01ad3d8a7 (diff) | |
Removed legacy Trac code
Diffstat (limited to 'lib/puppet/application')
| -rw-r--r-- | lib/puppet/application/doc.rb | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/puppet/application/doc.rb b/lib/puppet/application/doc.rb index 66aa6c8a1..6ebb47563 100644 --- a/lib/puppet/application/doc.rb +++ b/lib/puppet/application/doc.rb @@ -56,7 +56,7 @@ class Puppet::Application::Doc < Puppet::Application end def run_command - return[:rdoc, :trac, :markdown].include?(options[:mode]) ? send(options[:mode]) : other + return[:rdoc, :markdown].include?(options[:mode]) ? send(options[:mode]) : other end def rdoc @@ -72,7 +72,7 @@ class Puppet::Application::Doc < Puppet::Application Puppet.settings.setdefaults( "puppetdoc", - + "document_all" => [false, "Document all resources"] ) Puppet.settings[:document_all] = options[:all] || false @@ -92,14 +92,6 @@ class Puppet::Application::Doc < Puppet::Application exit exit_code end - def trac - require 'puppet/util/reference' - options[:references].each do |name| - section = Puppet::Util::Reference.reference(name) or raise "Could not find section #{name}" - section.trac unless options[:mode] == :pdf - end - end - def markdown text = "" with_contents = false |
