lib/puppet/util/rdoc.rb
# launch a output to console manifest doc
launch a output to console manifest doc
launch a output to console manifest doc
def manifestdoc(files)
    Puppet[:ignoreimport] = true
    files.select { |f| FileTest.file?(f) }.each do |f|
      parser = Puppet::Parser::Parser.new(Puppet::Node::Environment.new(Puppet[:environment]))
      parser.file = f
      ast = parser.parse
      output(f, ast)
    end
  end
def manifestdoc ( files ) Puppet [ :ignoreimport ] = true files . select { | f | FileTest . file? ( f ) } . each do | f | parser = Puppet :: Parser :: Parser . new ( Puppet :: Node :: Environment . new ( Puppet [ :environment ] ) ) parser . file = f ast = parser . parse output ( f , ast ) end end
launch a output to console manifest doc
launch a output to console manifest doc
files
<not_specific>