You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`config_file`|`String`| The default location on disk of the config file, see resource for details | The full path to find the rules on disk ||
25
+
|`owner`|`String`|`root`| Owner of the saved output file ||
26
+
|`group`|`String`|`root`| Group of the saved output file ||
27
+
|`mode`|`String`|`0644`| Permissions on the saved output file ||
28
+
|`template`|`source_template`|`iptables.erb`| Source template to use to create the rules ||
29
+
|`cookbook`|`String`|`iptables`| Source cookbook to find the template in ||
30
+
|`sensitive`|`true, false`|`false`| mark the resource as senstive ||
23
31
|`table`|`Symbol`|`:filter`| The table the chain exists on for the rule |`:filter`, `:mangle`, `:nat`, `:raw`, `:security`|
24
32
|`chain`|`Symbol`|`nil`| The name of the Chain to put this rule on ||
25
-
|`ip_version`|`Symbol`, `String`|`:ipv4`| The IP version |`:ipv4`, `:ipv6`, `ipv4`, `ipv6`|
33
+
|`ip_version`|`Symbol`, `String`|`:ipv4`| The IP version |`:ipv4`, `:ipv6`, `ipv4`, `ipv6`|
26
34
|`protocol`|`Symbol`, `String`, `Integer`|| The protocol to look for ||
27
35
|`match`|`String`|| extended packet matching module to use ||
28
36
|`source`|`String`|| Source specification. Address can be either a network name, a hostname (please note that specifying any name to be resolved with a remote query such as DNS is a really bad idea), a network IP address (with /mask), or a plain IP address. The mask can be either a network mask or a plain number, specifying the number of 1's at the left side of the network mask. Thus, a mask of 24 is equivalent to 255.255.255.0. A "!" argument before the address specification inverts the sense of the address. ||
@@ -36,11 +44,6 @@ If the property `line` is used all other properties around configuring the iptab
36
44
|`line`|`String`|| Specify the entire line yourself, overrides all other options ||
37
45
|`extra_options`|`String`|| Pass in extra arguments which are not available directly, useful with modules ||
38
46
|`comment`|`String`|| A comment to put on the rule ||
39
-
|`file_mode`|`String`|`0644`| Permissions on the saved output file ||
40
-
|`source_template`|`source_template`|`iptables.erb`| Source template to use to create the rules ||
41
-
|`cookbook`|`String`|`iptables`| Source cookbook to find the template in ||
42
-
|`sensitive`|`true, false`|`false`| mark the resource as senstive ||
43
-
|`config_file`|`String`| The default location on disk of the config file, see resource for details | The full path to find the rules on disk ||
|`ip_version`|`Symbol`|`:ipv4`| The IP version |`:ipv4`, `:ipv6`|
19
-
|`sysconfig`|`Hash`| Correct default settings | A hash of the config settings for sysconfig, see library for more details ||
22
+
|`config_file`|`String`| The default location on disk of the config file, see resource for details | The full path to find the rules on disk ||
23
+
|`owner`|`String`|`root`| Owner of the saved output file ||
24
+
|`group`|`String`|`root`| Group of the saved output file ||
25
+
|`mode`|`String`|`0644`| Permissions on the saved output file ||
26
+
|`template`|`source_template`|`iptables.erb`| Source template to use to create the rules ||
27
+
|`cookbook`|`String`|`iptables`| Source cookbook to find the template in ||
28
+
|`sensitive`|`true, false`|`false`| mark the resource as senstive ||
29
+
|`ip_version`|`Symbol`, `String`|`:ipv4`| The IP version |`:ipv4`, `:ipv6`|
20
30
|`service_name`|`String`| Correct service name | Name of the iptables services ||
21
-
|`sysconfig_file_mode`|`String`|`0600`|Permissions on the saved sysconfig file ||
22
-
23
-
|`file_mode`|`String`|`0644`| Permissions on the saved rules file ||
24
-
|`source_template`|`source_template`|`iptables.erb`| Source template to use to create the rules ||
31
+
|`owner`|`String`|`root`|Owner of the saved output file ||
32
+
|`group`|`String`|`root`| Group of the saved output file ||
33
+
|`mode`|`String`|`0644`| Permissions on the saved rules file ||
34
+
|`template`|`source_template`|`iptables.erb`| Source template to use to create the rules ||
25
35
|`cookbook`|`cookbook`|`iptables`| Source cookbook to find the template in ||
26
36
|`sysconfig_file`|`String`| The default location on disk of the sysconfig file, see resource for details | The full path to find the sysconfig file on disk ||
27
-
|`config_file`|`String`| The default location on disk of the config file, see resource for details | The full path to find the rules on disk ||
37
+
|`sysconfig_template`|`source_template`|`iptables-config.erb`| Source template to use to create the rules ||
38
+
|`sysconfig`|`Hash`| Correct default settings | A hash of the config settings for sysconfig, see library for more details ||
0 commit comments