~ubuntu-branches/ubuntu/wily/puppet/wily

« back to all changes in this revision

Viewing changes to lib/puppet/application/doc.rb

  • Committer: Package Import Robot
  • Author(s): Stig Sandbeck Mathisen
  • Date: 2014-04-17 14:50:28 UTC
  • mfrom: (3.1.59 sid)
  • Revision ID: package-import@ubuntu.com-20140417145028-j3p3dwvp8ggpzvaf
Tags: 3.5.1-1
ImportedĀ upstreamĀ releaseĀ 3.5.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
    exit_code = 0
172
172
    files = []
173
173
    unless @manifest
174
 
      env = Puppet::Node::Environment.new
 
174
      env = Puppet.lookup(:environments).get(Puppet[:environment])
175
175
      files += env.modulepath
176
176
      files << ::File.dirname(env[:manifest])
177
177
    end