puppet-windows_firewall icon indicating copy to clipboard operation
puppet-windows_firewall copied to clipboard

How do you remove an existing Windows Firewall rule?

Open mike406 opened this issue 3 years ago • 2 comments

    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)

mike406 avatar Apr 23 '21 19:04 mike406