Forge Home

windows_firewall

Module to the windows firewall

10,915 downloads

10,915 latest version

2.5 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.0.3 (latest)
released Aug 13th 2013

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'rmsphd-windows_firewall', '0.0.3'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add rmsphd-windows_firewall
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install rmsphd-windows_firewall --version 0.0.3

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

rmsphd/windows_firewall — version 0.0.3 Aug 13th 2013

#Windows Firewall module for Puppet

#Overview Puppet module to manage the Microsoft Windows Firewall

This module is also available on the Puppet Forge

Build
Status Dependency
Status

##Module Description

##Setup

####Setup Requirements

##Usage First please read the Wiki regarding how we assume your network share should be configured. Then installing office is as simple as:

The windows_firewall class has some defaults that can be overridden, for instance if you wanted to disable to windows firewall

class { 'windows_firewall': ensure => 'stopped' }

Allow port/protocol example

windows_firewall::exception { 'WINRM':
  ensure       => present,
  direction    => 'in',
  action       => 'Allow',
  enabled      => 'yes',
  protocol     => 'TCP',
  port         => '5985',
  key_name     => 'WINRM-HTTP-In-TCP',
  display_name => 'Windows Remote Management HTTP-In',
  description  => 'Inbound rule for Windows Remote Management via WS-Management. [TCP 5985]',
}

Allow program example

windows_firewall::exception { 'myapp': ensure => present, direction => 'in', action => 'Allow', enabled => 'yes', program => 'C:\myapp.exe', display_name => 'My App', description => 'Inbound rule for My App', }

##Development Copyright (C) 2013 Liam Bennett - liamjbennett@gmail.com Distributed under the terms of the Apache 2 license - see LICENSE file for details. Further contributions and testing reports are extremely welcome - please submit a pull request or issue on GitHub Please read the Wiki as there is a lot of useful information and links that will help you understand this module

##Release Notes

0.0.2 Some bug fixes and additional testing

0.0.1 The initial version