]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commitdiff
README: Added an example of an IPv6-based rule.
authorJonathan Davies <jpdavs@gmail.com>
Sun, 8 Feb 2015 21:19:43 +0000 (21:19 +0000)
committerJonathan Tripathy <jt@puppetlabs.com>
Fri, 27 Feb 2015 15:55:20 +0000 (15:55 +0000)
README.markdown

index d14143ed7390f0e82604b473aa6eccc10851c10c..4dd30373406a61760776044b55275a80c2cd9901 100644 (file)
@@ -187,6 +187,20 @@ firewall { "999 drop all other requests":
   action => "drop",
 }
 ```
+
+#### Example of an IPv6 rule
+
+IPv6 rules can be specified using the _ip6tables_ provider:
+
+```puppet
+firewall { "006 Allow inbound SSH (v6)":
+  port     => 22,
+  proto    => tcp,
+  action   => accept,
+  provider => 'ip6tables',
+}
+```
+
 ###Application-Specific Rules
 
 Puppet doesn't care where you define rules, and this means that you can place