We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1be5bcd + ad57f45 commit 487bc6cCopy full SHA for 487bc6c
lib/puppet/provider/network_config/redhat.rb
@@ -180,9 +180,9 @@ def self.format_file(filename, providers)
180
provider = providers[0]
181
props = {}
182
183
- # Map everything to a flat hash
184
- props = (provider.options || {})
+ props = provider.options if provider.options && provider.options != :absent
185
+ # Map everything to a flat hash
186
NAME_MAPPINGS.keys.each do |type_name|
187
if (val = provider.send(type_name))
188
props[type_name] = val
0 commit comments