puppet-windows_firewall
puppet-windows_firewall copied to clipboard
display_name does not default to resource name on version 2.0.0
Affected Puppet, Ruby, OS and module versions/distributions
- Puppet: 2018.1
- Ruby: N/A
- Distribution: N/A
- Module version: 2.0.0
How to reproduce (e.g Puppet code you use)
windows_firewall::exception { "510 allow http in ${label}":
ensure => present,
direction => 'in',
action => 'Allow',
enabled => 'yes',
protocol => "${settings['protocol']}",
local_port => "${settings['port']}",
remote_port => 'any',
description => 'Allow inbound http',
}
What are you seeing
Error at line 184 in the windows_firewall module. Duplicate declaration - Exec[set rule ]
What behaviour did you expect instead
display_name to be set from the resource title, as per the module documentation.