File: cfengine3.actual

package info (click to toggle)
golang-github-alecthomas-chroma-v2 2.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,980 kB
  • sloc: xml: 33,149; python: 589; javascript: 357; makefile: 36; sh: 36
file content (27 lines) | stat: -rw-r--r-- 425 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
@if minimum_version(3.20)
body members foo
{
  include => { "alice", "bob" };
  exclude => { "malcom" };
}
@endif

@if minimum_version(3.20)
promise agent blah
{
  path => "/some/path";
}
@endif

bundle agent __main__
{
  groups:
    "foo"
      policy => "present",
@if minimum_version(3.20)
      members => foo;
@else
      members => '{ "include": ["alice", "bob"],
                    "exclude": ["malcom"] }';
@endif
}