Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions content/reference/special-variables/sys.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,17 @@ The date of the system in canonical form, i.e. in the form of a class, from when
sys.cdate = Sun_Dec__7_10_39_53_2008_
```

### sys.cfengine_role

The variable gives the role of the host running the policy, as a string

```cf3 {skip TODO}
reports:
"Role: $(sys.cfengine_role)";
```

**History:** Was introduced in 3.29.0.

### sys.cf_promises

A variable containing the path to the CFEngine syntax analyzer
Expand Down
Loading