bundle agent __main__
{
vars:
"repo_data" data => '{"one": { "value": "something" }, "two": { "run_class": "linux" } }';
"repo_names" slist => getindices(repo_data);
reports:
"$(this.bundle): yes or/not $(repo_names)"
if => or(
canonify("$(repo_data[$(repo_names)][run_class])"),
not(isvariable("repo_data[$(repo_names)][run_class]"))
);
}
R: main: yes or/not two
Debug doens't show the skip ...