Hello all,
I am using the community edition version 3.0.4p2 and I have the following:
bundle agent do_user_accounts
{
vars:
"corp_data" string => "/corp/data";
"ref_files" slist => { "$(corp_data)/ref_passwd.dat",
"$(corp_data)/ref_passwd_excp1.dat" };
methods:
"users_from" usebundle => do_users_from("$(ref_files)");
}
bundle agent do_users_from(ref_file)
{
vars:
"dim_ru" int =>
readstringarray("r_user","$(ref_file)","#[^\n]*",":",1000,16000);
....
...
..
..
The do_users_from bundle is executed twice as I expected but the array r_user
is set with the content of the first file and never with the content of the
second or subsequent files not what I expected. Can someone let me know if
this is a feature or a bug?
Many thanks,
Marco
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine