Module: Jerakia::Lookup::Plugin::Hiera
- Defined in:
- lib/jerakia/lookup/plugin/hiera.rb
Instance Method Summary collapse
Instance Method Details
#autorun ⇒ Object
11 12 13 14 15 16 |
# File 'lib/jerakia/lookup/plugin/hiera.rb', line 11 def autorun unless request.namespace.empty? request.key.prepend("#{request.namespace.join('::')}::") end request.namespace = [] end |
#calling_module ⇒ Object
22 23 24 |
# File 'lib/jerakia/lookup/plugin/hiera.rb', line 22 def calling_module request.key.split('::')[0] end |
#rewrite_lookup ⇒ Object
18 19 20 |
# File 'lib/jerakia/lookup/plugin/hiera.rb', line 18 def rewrite_lookup Jerakia.log.debug('DEPRECATION NOTICE: The use of plugin.hiera.rewrite_lookup is now deprecated and is automatically executed when the plugin is loaded') end |