Module: Hiera::Backend

Defined in:
utils/hiera_lookup.rb,
modules/wmflib/lib/hiera/backend/role_backend.rb,
modules/wmflib/lib/hiera/backend/proxy_backend.rb,
modules/wmflib/lib/hiera/backend/role3_backend.rb,
modules/wmflib/lib/hiera/backend/netbox_backend.rb,
modules/wmflib/lib/hiera/backend/nuyaml_backend.rb,
modules/wmflib/lib/hiera/backend/secret_backend.rb,
modules/wmflib/lib/hiera/backend/nuyaml3_backend.rb,
modules/wmflib/lib/hiera/backend/private_backend.rb,
modules/wmflib/lib/hiera/backend/httpyaml_backend.rb,
modules/wmflib/lib/hiera/backend/private3_backend.rb,
modules/puppetdbquery/lib/hiera/backend/puppetdb_backend.rb

Defined Under Namespace

Classes: Httpyaml_backend, Netbox_backend, Nuyaml3_backend, Nuyaml_backend, Private_backend, Proxy_backend, Puppetdb_backend, Role3_backend, Role_backend, Secret_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