1# 2# Demonstrates the use of variables to call bundles. 3# We can then filter variables on classes, for example. 4# 5 6body common control 7{ 8 bundlesequence => { "example" }; 9} 10 11########################################### 12 13bundle agent test 14{ 15 vars: 16 "run_bundles" slist => { "test_one", "test_two" }; 17 "run_a_bundle" string => "test_three"; 18 19 methods: 20 "any" usebundle => "$(run_bundles)"; 21 "any" usebundle => "$(run_a_bundle)"; 22} 23 24########################################### 25 26bundle agent test_one 27{ 28 reports: 29 "in test_one"; 30} 31 32########################################### 33 34bundle agent test_two 35{ 36 reports: 37 "in test_two"; 38} 39 40########################################### 41 42bundle agent test_three 43{ 44 reports: 45 "in test_three"; 46} 47 48