Sha256: 8baa4cbb04688e51539a210213cd452e96466a7a55801b9ae3a4c393e818eb9a

Contents?: true

Size: 932 Bytes

Versions: 20

Compression:

Stored size: 932 Bytes

Contents

# frozen_string_literal: true
# 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_relative '../../puppet/plugins/syntax_checkers'
    require_relative '../../puppet/syntax_checkers/base64'
    require_relative '../../puppet/syntax_checkers/json'
    require_relative '../../puppet/syntax_checkers/pp'
    require_relative '../../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

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
puppet-8.3.0 lib/puppet/plugins/configuration.rb
puppet-8.3.0-x86-mingw32 lib/puppet/plugins/configuration.rb
puppet-8.3.0-x64-mingw32 lib/puppet/plugins/configuration.rb
puppet-8.3.0-universal-darwin lib/puppet/plugins/configuration.rb
puppet-8.3.1 lib/puppet/plugins/configuration.rb
puppet-8.3.1-x86-mingw32 lib/puppet/plugins/configuration.rb
puppet-8.3.1-x64-mingw32 lib/puppet/plugins/configuration.rb
puppet-8.3.1-universal-darwin lib/puppet/plugins/configuration.rb
puppet-8.2.0 lib/puppet/plugins/configuration.rb
puppet-8.2.0-x86-mingw32 lib/puppet/plugins/configuration.rb
puppet-8.2.0-x64-mingw32 lib/puppet/plugins/configuration.rb
puppet-8.2.0-universal-darwin lib/puppet/plugins/configuration.rb
puppet-8.1.0 lib/puppet/plugins/configuration.rb
puppet-8.1.0-x86-mingw32 lib/puppet/plugins/configuration.rb
puppet-8.1.0-x64-mingw32 lib/puppet/plugins/configuration.rb
puppet-8.1.0-universal-darwin lib/puppet/plugins/configuration.rb
puppet-8.0.1 lib/puppet/plugins/configuration.rb
puppet-8.0.1-x86-mingw32 lib/puppet/plugins/configuration.rb
puppet-8.0.1-x64-mingw32 lib/puppet/plugins/configuration.rb
puppet-8.0.1-universal-darwin lib/puppet/plugins/configuration.rb