chef-boneyard / windows_firewall

Chef cookbook to configure Windows Firewall
Apache License 2.0
6 stars 9 forks source link

Enable the ability to enable/disable existing rules #23

Closed drahamim closed 5 years ago

drahamim commented 8 years ago

The cookbook currently only creates rules. I would be great if it also had the ability to enable/disable rules.

akhileshvishwanath commented 7 years ago

Yes, were you able get it?

drahamim commented 7 years ago

@akhileshvishwanath the final solution was to use


netsh_firewall_rule 'RULE_NAME' do
    action :enable
end

which I believe to be a netsh_firewall cookbook resource. 
tas50 commented 5 years ago

This will be resolved in the next release