Skip to content

Commit 4ec9948

Browse files
committed
Added more documentation references for ignore_interfaces.rx
Changelog: None Ticket: ENT-11839
1 parent c0ec170 commit 4ec9948

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

overview/directory-structure.markdown

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,37 @@ _pid files_ in the work directory.
186186

187187
## Datafiles in /var/cfengine
188188

189-
* `policy_server.dat`
189+
### `policy_server.dat`
190190

191191
IP address of the policy server
192192

193+
### `ignore_interfaces.rx`
194+
195+
CFEngine will ignore interfaces for interfaces that match one of the regular expressions listed in this file (one regular expression per line).
196+
197+
If an interface matches a regular expression in the file then various classes and variables will not be populated with related information. For example, but not limited to:
198+
199+
**Classes:**
200+
201+
* `ipv4_` prefixed classes
202+
* `mac_` prefixed classes
203+
204+
**Variables:**
205+
206+
* `sys.ipv4_N[iface]`
207+
* `sys.ip2iface`
208+
* `sys.ipaddresses`
209+
* `sys.interface_flags`
210+
* `sys.inet`
211+
* `sys.inet6`
212+
* `sys.hardware_mac[iface]`
213+
* `sys.hardware_addresses`
214+
215+
**History:**
216+
217+
* Introduced in CFEngine 3.10.0
218+
* Preferred location moved from `$(sys.inputdir)` to `$(sys.workdir)` in CFEngine 3.23.0
219+
193220
## Binary files in /var/cfengine
194221

195222
* `randseed`

0 commit comments

Comments
 (0)