Module: ForemanVault::ProvisioningTemplateExtensions
- Extended by:
- ActiveSupport::Concern
- Defined in:
- app/models/concerns/foreman_vault/provisioning_template_extensions.rb
Instance Method Summary collapse
-
#render(renderer: Foreman::Renderer, host: nil, params: {}, variables: {}, mode: Foreman::Renderer::REAL_MODE, template_input_values: {}, source_klass: nil) ⇒ Object
rubocop:disable Metrics/ParameterLists.
Instance Method Details
#render(renderer: Foreman::Renderer, host: nil, params: {}, variables: {}, mode: Foreman::Renderer::REAL_MODE, template_input_values: {}, source_klass: nil) ⇒ Object
rubocop:disable Metrics/ParameterLists
8 9 10 11 12 |
# File 'app/models/concerns/foreman_vault/provisioning_template_extensions.rb', line 8 def render(renderer: Foreman::Renderer, host: nil, params: {}, variables: {}, mode: Foreman::Renderer::REAL_MODE, template_input_values: {}, source_klass: nil) source_klass = Foreman::Renderer::Source::Database if template_kind == TemplateKind.find_by(name: 'VaultPolicy') super end |