Skip to content

Instantly share code, notes, and snippets.

@wcooley
Forked from big-samantha/init.pp
Created November 15, 2012 20:12
Show Gist options
  • Save wcooley/4080963 to your computer and use it in GitHub Desktop.
Save wcooley/4080963 to your computer and use it in GitHub Desktop.
# Install, configure, and make persistent, iptables.
class iptables (
$publicports = [],
)
{
include
'iptables::config',
'iptables::service',
'iptables::install'
Class['iptables::install']
-> Class['iptables::config']
~> Class['iptables::service']
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment