# Configures the Puppet Plugins, by registering extension points
# and default implementations.
#
# See the respective configured services for more information.
#
# @api private
#
module Puppet::Plugins
module Configuration
require 'puppet/plugins/syntax_checkers'
require 'puppet/syntax_checkers/base64'
require 'puppet/syntax_checkers/json'
require 'puppet/syntax_checkers/pp'
require 'puppet/syntax_checkers/epp'
def self.load_plugins
# Register extensions
# -------------------
{
SyntaxCheckers::SYNTAX_CHECKERS_KEY => {
'json' => Puppet::SyntaxCheckers::Json.new,
'base64' => Puppet::SyntaxCheckers::Base64.new,
'pp' => Puppet::SyntaxCheckers::PP.new,
'epp' => Puppet::SyntaxCheckers::EPP.new
}
}
end
end
end
Copyright 2K16 - 2K18 Indonesian Hacker Rulez