Skip to content

Commit 440f117

Browse files
authored
Merge pull request #3747 from victormlg/sys-cfengine-role
ENT-10665: Added sys.cfengine_role variable docs entry
2 parents 2a83385 + adef572 commit 440f117

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

content/reference/special-variables/sys.markdown

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,17 @@ The date of the system in canonical form, i.e. in the form of a class, from when
4545
sys.cdate = Sun_Dec__7_10_39_53_2008_
4646
```
4747

48+
### sys.cfengine_role
49+
50+
The variable gives the role of the host running the policy, as a string
51+
52+
```cf3 {skip TODO}
53+
reports:
54+
"Role: $(sys.cfengine_role)";
55+
```
56+
57+
**History:** Was introduced in 3.29.0.
58+
4859
### sys.cf_promises
4960

5061
A variable containing the path to the CFEngine syntax analyzer

0 commit comments

Comments
 (0)