aboutsummaryrefslogtreecommitdiff
path: root/types
diff options
context:
space:
mode:
authorDavid Hollinger III <david.hollinger@moduletux.com>2019-08-31 13:35:04 -0500
committerGitHub <noreply@github.com>2019-08-31 13:35:04 -0500
commitd6c0df12aa2b09bff70f88d51e7ef62045266095 (patch)
treea4cb977334da6b7bef1e5e0f3f832c9d5c76af70 /types
parent0236a6f6bc737f882f950cdd507763c9f4098e0f (diff)
parentd932153d5d19a0f20f0eec695f6964cfe509b291 (diff)
downloadpuppet-ferm-d6c0df12aa2b09bff70f88d51e7ef62045266095.tar.gz
puppet-ferm-d6c0df12aa2b09bff70f88d51e7ef62045266095.tar.bz2
Merge pull request #52 from bastelfreak/docs
allow all supported iptables protocolls & enhance puppet-strings documentation Unverified
Diffstat (limited to 'types')
-rw-r--r--types/chains.pp1
-rw-r--r--types/policies.pp1
-rw-r--r--types/protocols.pp3
3 files changed, 4 insertions, 1 deletions
diff --git a/types/chains.pp b/types/chains.pp
index 3ddf0f8..e916359 100644
--- a/types/chains.pp
+++ b/types/chains.pp
@@ -1 +1,2 @@
+# @summary a type that allows the default iptables chains
type Ferm::Chains = Enum['INPUT', 'FORWARD', 'OUTPUT']
diff --git a/types/policies.pp b/types/policies.pp
index ffc8a6e..03be6ce 100644
--- a/types/policies.pp
+++ b/types/policies.pp
@@ -1 +1,2 @@
+# @summary a list of allowed default policies for a chain
type Ferm::Policies = Enum['ACCEPT','DROP', 'REJECT']
diff --git a/types/protocols.pp b/types/protocols.pp
index 2ab2cf4..ee3ac2b 100644
--- a/types/protocols.pp
+++ b/types/protocols.pp
@@ -1 +1,2 @@
-type Ferm::Protocols = Enum['icmp', 'tcp', 'udp', 'all']
+# @summary a list of allowed protocolls to match
+type Ferm::Protocols = Enum['icmp', 'tcp', 'udp', 'udplite', 'icmpv6', 'esp', 'ah', 'sctp', 'mh', 'all']