Sha256: dffcf121fe08c09e3ebfca98d86ab9f3e70ca9f3c42f27ec4dcaeb8a7c717a8a

Contents?: true

Size: 510 Bytes

Versions: 24

Compression:

Stored size: 510 Bytes

Contents

require 'spec_helper'
require 'puppet/data_binding'
require 'puppet/indirector/hiera'

begin
  require 'hiera/backend'
rescue LoadError => e
  Puppet.warning(_("Unable to load Hiera 3 backend: %{message}") % {message: e.message})
end

describe Puppet::Indirector::Hiera, :if => Puppet.features.hiera? do

  module Testing
    module DataBinding
      class Hiera < Puppet::Indirector::Hiera
      end
    end
  end

  it_should_behave_like "Hiera indirection", Testing::DataBinding::Hiera, my_fixture_dir
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
puppet-8.3.0 spec/unit/indirector/hiera_spec.rb
puppet-8.3.0-x86-mingw32 spec/unit/indirector/hiera_spec.rb
puppet-8.3.0-x64-mingw32 spec/unit/indirector/hiera_spec.rb
puppet-8.3.0-universal-darwin spec/unit/indirector/hiera_spec.rb
puppet-8.4.0 spec/unit/indirector/hiera_spec.rb
puppet-8.4.0-x86-mingw32 spec/unit/indirector/hiera_spec.rb
puppet-8.4.0-x64-mingw32 spec/unit/indirector/hiera_spec.rb
puppet-8.4.0-universal-darwin spec/unit/indirector/hiera_spec.rb
puppet-8.3.1 spec/unit/indirector/hiera_spec.rb
puppet-8.3.1-x86-mingw32 spec/unit/indirector/hiera_spec.rb
puppet-8.3.1-x64-mingw32 spec/unit/indirector/hiera_spec.rb
puppet-8.3.1-universal-darwin spec/unit/indirector/hiera_spec.rb
puppet-8.2.0 spec/unit/indirector/hiera_spec.rb
puppet-8.2.0-x86-mingw32 spec/unit/indirector/hiera_spec.rb
puppet-8.2.0-x64-mingw32 spec/unit/indirector/hiera_spec.rb
puppet-8.2.0-universal-darwin spec/unit/indirector/hiera_spec.rb
puppet-8.1.0 spec/unit/indirector/hiera_spec.rb
puppet-8.1.0-x86-mingw32 spec/unit/indirector/hiera_spec.rb
puppet-8.1.0-x64-mingw32 spec/unit/indirector/hiera_spec.rb
puppet-8.1.0-universal-darwin spec/unit/indirector/hiera_spec.rb