You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By way of example, here is what I am having to do as a result of this. Ideally, the resource name would not need to be duplicated into the $display_name variable.
profile::firewall::win_ipv4_firewalls:
'Netmon ICMPv4-in':
display_name: 'Netmon ICMPv4-in'description: 'Allow in Internet Control Message Protocol from Netmon IPs'protocol: ICMPv4remote_ip: &NMs '192.168.0.1,192.168.1.1''Netmon NTP-in':
display_name: 'Netmon NTP-in'description: 'Allow in Network Time Protocol from Netmon IPs'local_port: 123protocol: UDPremote_ip: *NMsremote_port: any'Netmon SNMP-in':
display_name: 'Netmon SNMP-in'description: 'Allow in Simple Network Managment Protocol from Netmon IPs'local_port: 161protocol: UDPremote_ip: *NMsremote_port: any
Also using 2.0.2 with issue still there. I also use same workaround by duplicating resource name to display_name, but if you have dozen+ of rules, it's prone to human errors.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
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.
Output log
Any additional information you'd like to impart
The text was updated successfully, but these errors were encountered: