...

Text file src/github.com/alecthomas/chroma/v2/lexers/testdata/cfengine3.actual

Documentation: github.com/alecthomas/chroma/v2/lexers/testdata

     1@if minimum_version(3.20)
     2body members foo
     3{
     4  include => { "alice", "bob" };
     5  exclude => { "malcom" };
     6}
     7@endif
     8
     9@if minimum_version(3.20)
    10promise agent blah
    11{
    12  path => "/some/path";
    13}
    14@endif
    15
    16bundle agent __main__
    17{
    18  groups:
    19    "foo"
    20      policy => "present",
    21@if minimum_version(3.20)
    22      members => foo;
    23@else
    24      members => '{ "include": ["alice", "bob"],
    25                    "exclude": ["malcom"] }';
    26@endif
    27}

View as plain text