Skip to content

Commit 10e4466

Browse files
committed
Updated documentation about policy_server.dat
This documentation was referenced on the help list as to why policy_server.dat could only contain IP addresses but hostnames and even ports are valid here since CFEngine 3.10.0.
1 parent 7ea8b1a commit 10e4466

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

content/overview/directory-structure.markdown

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,14 @@ _pid files_ in the work directory.
191191

192192
### `policy_server.dat`
193193

194-
IP address of the policy server
194+
Specifies the host's primary policy server in the format `(<IP>|<Hostname>)[:<Port>]`. This file's contents are used to define the `default:sys.policy_hub` and `default:sys.policy_hub_port`, variables.
195+
196+
**See also:** [`default:sys.policy_hub`][sys#sys.policy_hub], [`default:sys.policy_hub_port`][sys#sys.policy_hub_port]
197+
198+
**History:**
199+
200+
- Added in CFEngine 3.2.0
201+
- Support hostname and port added in CFEngine 3.10.0
195202

196203
### `ignore_interfaces.rx`
197204

content/reference/special-variables/sys.markdown

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,6 +1315,8 @@ reports:
13151315
"Policy hub is $(sys.policy_hub)";
13161316
```
13171317

1318+
**See also:** [`policy_server.dat`][CFEngine directory structure#policy_server.dat]
1319+
13181320
**History:**
13191321

13201322
- Introduced in version 3.1.0b1,Enterprise 2.0.0b1 (2010).
@@ -1327,6 +1329,8 @@ connections to `cf-serverd`. This defaults to `5308` but can be
13271329
overridden based on the data provided during bootstrap stored in
13281330
`$(sys.workdir)/policy_server.dat`.
13291331

1332+
**See also:** [`policy_server.dat`][CFEngine directory structure#policy_server.dat]
1333+
13301334
**History:**
13311335

13321336
- Introduced in version 3.10.0 (2016).

0 commit comments

Comments
 (0)