Skip to content

Instantly share code, notes, and snippets.

@big-samantha
Created November 15, 2012 20:04
Show Gist options
  • Save big-samantha/4080898 to your computer and use it in GitHub Desktop.
Save big-samantha/4080898 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