body common control
{
  bundlesequence => { "example" };
  inputs => { "$(sys.libdir)/stdlib.cf" };
}

bundle agent example
{
  vars:
    am_policy_hub::
      "host_list" slist => hostswithclass("debian", "name");

  files:
    am_policy_hub::
      "/tmp/master_config.cfg"
        edit_line => insert_lines("host=$(host_list)"),
        create => "true";
}
