Module: Hiera::Backend

Defined in:
utils/hiera_lookup.rb,
modules/puppetdbquery/lib/hiera/backend/puppetdb_backend.rb

Defined Under Namespace

Classes: Puppetdb_backend

Class Method Summary collapse

Class Method Details

.datadir(backend, scope) ⇒ Object



81
82
83
# File 'utils/hiera_lookup.rb', line 81

def datadir(backend, scope)
  old_datadir(backend, scope).gsub(%r{^.*(?=/hieradata)}, DIR)
end

.old_datadirObject



80
# File 'utils/hiera_lookup.rb', line 80

alias_method :old_datadir, :datadir