deployment_scripts/puppet/modules/plugin_module/lib/puppet/type/override_resources.rb
# Get the default parameters for a given type
# @param [String] type
# @return [Hash<String>]
Get the default parameters for a given type
Get the default parameters for a given type
def defaults_for(type)
    default_parameters = defaults.fetch type.to_s, {}
    fail "Default for the type: #{type} should be a hash of parameters. Got: #{default_parameters.inspect}" unless default_parameters.is_a? Hash
    default_parameters
  end
def defaults_for ( type ) default_parameters = defaults . fetch type . to_s , { } fail "Default for the type: #{type} should be a hash of parameters. Got: #{default_parameters.inspect}" unless default_parameters . is_a? Hash default_parameters end
Get the default parameters for a given type
Get the default parameters for a given type
None
Hash<String>
type
<not_specific>
<not_specific>
None