Sha256: f90f8c082923165d82e7af0f4715e707239fea38fc5eb38899cb7adb50d4426d

Contents?: true

Size: 621 Bytes

Versions: 20

Compression:

Stored size: 621 Bytes

Contents

# frozen_string_literal: true
class Puppet::Indirector::StoreConfigs < Puppet::Indirector::Terminus
  def initialize
    super
    # This will raise if the indirection can't be found, so we can assume it
    # is always set to a valid instance from here on in.
    @target = indirection.terminus Puppet[:storeconfigs_backend]
  end

  attr_reader :target

  def head(request)
    target.head request
  end

  def find(request)
    target.find request
  end

  def search(request)
    target.search request
  end

  def save(request)
    target.save request
  end

  def destroy(request)
    target.save request
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

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