Puppet Class: osx::security::firewall

Defined in:
manifests/security/firewall.pp

Overview

Enable OSX system firewall

Parameters:

  • enabled (Any) (defaults to: 1)


2
3
4
5
6
7
8
9
10
11
12
# File 'manifests/security/firewall.pp', line 2

class osx::security::firewall (
  $enabled = 1
) {
  boxen::osx_defaults { 'Configure firewall':
    user   => 'root',
    domain => '/Library/Preferences/com.apple.alf',
    key    => 'globalstate',
    value  => $enabled,
    type   => 'integer'
  }
}