Fix plugin loading from YARD
This patch fixes an error related to `Puppet::Util` being missing when YARD loads `puppetx/yardoc/yard/plugin`.
This commit is contained in:
parent
d6a4791c30
commit
e98761100d
|
@ -3,6 +3,8 @@ if RUBY_VERSION < '1.9'
|
||||||
require 'backports/1.9.1/kernel/require_relative'
|
require 'backports/1.9.1/kernel/require_relative'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
require 'puppet'
|
||||||
|
|
||||||
require_relative 'monkey_patches'
|
require_relative 'monkey_patches'
|
||||||
require_relative 'parser'
|
require_relative 'parser'
|
||||||
require_relative 'handlers'
|
require_relative 'handlers'
|
||||||
|
|
Loading…
Reference in New Issue