Title / Description
Code # purge iptables rules resources { "firewall": purge => true } Firewall { before => Class['fw::post'], require => Class['fw::pre'], } class { ['fw::pre', 'fw::post']: } firewall { '100 allow openssh': chain => 'INPUT', state => ['NEW'], dport => '22', proto => 'tcp', action => 'accept', }
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code