We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5d70da commit cef8c85Copy full SHA for cef8c85
lib/puppet/provider/dsc_base_provider/dsc_base_provider.rb
@@ -80,7 +80,7 @@ def canonicalize(context, resources)
80
downcased_result = recursively_downcase(canonicalized)
81
downcased_resource = recursively_downcase(r)
82
# Ensure that metaparameters are preserved when we canonicalize the resource.
83
- metaparams = downcased_resource.select { |key, _value| Puppet::Type.metaparam?(key) }
+ metaparams = r.select { |key, _value| Puppet::Type.metaparam?(key) }
84
canonicalized.merge!(metaparams) unless metaparams.nil?
85
downcased_result.each do |key, value|
86
# Canonicalize to the manifest value unless the downcased strings match and the attribute is not an enum:
0 commit comments