Révision 4d95ea85
Add fact section to README.md
README.md | ||
---|---|---|
106 | 106 |
go so if you need rather complex rules or you can speak nftables it's |
107 | 107 |
recommended to use `nftables::rule` directly. |
108 | 108 |
|
109 |
## Facts |
|
110 |
|
|
111 |
One structured fact `nftables` is available |
|
112 |
|
|
113 |
``` |
|
114 |
{ |
|
115 |
tables => [ |
|
116 |
"bridge-filter", |
|
117 |
"bridge-nat", |
|
118 |
"inet-firewalld", |
|
119 |
"ip-firewalld", |
|
120 |
"ip6-firewalld" |
|
121 |
], |
|
122 |
version => "0.9.3" |
|
123 |
} |
|
124 |
``` |
|
125 |
|
|
126 |
* `nftables.version` is the version of the nft command from `nft --version`. |
|
127 |
* `nftables.tables` is the list of tables installed on the machine from `nft list tables`. |
|
128 |
|
|
109 | 129 |
## Editor goodies |
110 | 130 |
|
111 | 131 |
If you're using Emacs there are some snippets for |
Formats disponibles : Unified diff