body common control{ bundlesequence => {"get_array","process_array"}; } bundle agent get_array{ commands: "/tmp/testModule" module => "true"; } bundle agent process_array{ vars: "value" string => canonify("fs.file-max"); "valid_array[fs.file-max]" string => "14"; reports: cfengine_3:: "Valid array value: $(valid_array[fs.file-max])"; "Bad array value from module: $(testModule.array[$(fs.file-max)])"; }