chef-boneyard / windows_firewall

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

windows_firewall Cookbook

Cookbook Version Build status

This cookbook configures Windows firewall rules.

Deprecation

This resource is now built into chef-client 14.7+. If you are running Chef 14.7+ you no longer need to depend on this cookbook in your infrastructure of the windows_firewall_rule resource. All future development of the windows_firewall resource will take place directly in the chef-client. We highly recommen upgrading your chef-client for the latest and greatest functionality.

Requirements

Platforms

Chef

Resources

windows_firewall_rule

Actions

properties

Examples

  windows_firewall_rule 'Apache' do
    local_port '8080'
    protocol 'TCP'
    firewall_action :allow
  end
  windows_firewall_rule 'Enable SSH Access' do
    rule_name 'ssh'
    local_port '22'
    protocol 'TCP'
    firewall_action :allow
  end
windows_firewall_rule 'Remove SSH Access' do
  rule_name 'ssh'
  action :delete
end

License & Authors

Copyright:: 2013-2015 Matt Clifton
Copyright:: 2018 Chef Software, Inc.
Copyright:: 2018, Intility AS

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.