aboutsummaryrefslogtreecommitdiff
path: root/types/actions.pp
diff options
context:
space:
mode:
authorTim Meusel <tim@bastelfreak.de>2019-09-11 13:29:12 +0200
committerGitHub <noreply@github.com>2019-09-11 13:29:12 +0200
commit6d96e030be0db4a916dd6a9bd0b25570d359e634 (patch)
tree523f7a96c5b2640dbf2dd45cd89d931e12ceff9d /types/actions.pp
parent81748ba786c6a55c4575a400c08de99716da8fbb (diff)
parent882a45498ddefdfc83ff5b19da723fd0be3acdec (diff)
downloadpuppet-ferm-6d96e030be0db4a916dd6a9bd0b25570d359e634.tar.gz
puppet-ferm-6d96e030be0db4a916dd6a9bd0b25570d359e634.tar.bz2
Merge pull request #58 from voxpupuli/multi-table-support
add ability to configure rules in tables other than the default "filter" table
Diffstat (limited to 'types/actions.pp')
-rw-r--r--types/actions.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/types/actions.pp b/types/actions.pp
new file mode 100644
index 0000000..49bfd2c
--- /dev/null
+++ b/types/actions.pp
@@ -0,0 +1,6 @@
+# @summary a list of allowed actions for a rule
+# As you can also *jump* to other chains, each chain-name is also a valid action/target
+type Ferm::Actions = Variant[
+ Enum['RETURN', 'ACCEPT', 'DROP', 'REJECT', 'NOTRACK', 'LOG', 'MARK', 'DNAT', 'SNAT', 'MASQUERADE', 'REDIRECT'],
+ String[1],
+]