1#######################################################
2#
3# Test and
4#
5#######################################################
6
7body common control
8{
9      inputs => { "../../default.cf.sub" };
10      bundlesequence  => { default("$(this.promise_filename)") };
11      version => "1.0";
12}
13
14#######################################################
15
16bundle agent init
17{
18  vars:
19      "dummy" string => "dummy";
20}
21
22#######################################################
23
24bundle agent test
25{
26  vars:
27      "dummy" string => "dummy";
28}
29
30#######################################################
31
32bundle agent check
33{
34  classes:
35      "not_ok" and => {
36			"any",
37			"cfengine_3",
38			"this_was_not_defined"
39      };
40      "ok" not => "ok";
41
42  reports:
43    ok::
44      "$(this.promise_filename) Pass";
45    !ok::
46      "$(this.promise_filename) FAIL";
47}
48
49