Class: Hiera::Backend::Netbox_backend

Inherits:
Object
  • Object
show all
Defined in:
modules/wmflib/lib/hiera/backend/netbox_backend.rb

Overview

This naming is required by puppet.

Instance Method Summary collapse

Instance Method Details

#lookup(_key, _scope, _order_override, _resolution_type, _context) ⇒ Object

This is not a real backend. We abuse the backend functionality so we can dynamically change 'datadirs' in the nuyaml3 backend based on the directory prefix 'netbox/'



8
9
10
# File 'modules/wmflib/lib/hiera/backend/netbox_backend.rb', line 8

def lookup(_key, _scope, _order_override, _resolution_type, _context)
  throw(:no_such_key)
end