Sha256: ad68148f52d0f1dba655da1d06f7830c56930ee16cb4481db32ec47fa679c976
Contents?: true
Size: 702 Bytes
Versions: 1
Compression:
Stored size: 702 Bytes
Contents
require 'puppet/indirector/terminus' class Puppet::Indirector::CORL < Puppet::Indirector::Terminus def initialize(*args) unless CORL::Config.initialized? raise "CORL terminus not supported without the CORL library" end super end #--- def find(request) config = CORL::Config.init_flat({}, [ :param, :data_binding ], { :provisioner => :puppetnode, :hiera_scope => request.options[:variables], :puppet_scope => request.options[:variables], :search => 'core::default', :search_name => false, :force => true, :merge => true }) value = CORL::Config.lookup(request.key, nil, config) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
corl-0.4.3 | lib/puppet/indirector/corl.rb |