puppet-windows_firewall
puppet-windows_firewall copied to clipboard
How do you remove an existing Windows Firewall rule?
windows_firewall::exception { 'OpenSSH-Server-In-TCP':
ensure => 'absent',
direction => 'in',
action => 'allow',
display_name => 'OpenSSH SSH Server (sshd)'
}
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Left match operand must result in a String value. Got an Undef Value. (file: /etc/puppetlabs/code/environments/production/modules/windows_firewall/manifests/exception.pp, line: 106, column: 8) (file: /etc/puppetlabs/code/environments/production/modules/win_sshd/manifests/init.pp, line: 36)