cfengine community edition: 3.1.0
I have promises.cf that included 3 files:
body common control
{
#version => "$Revision: 4450 $ $Author: bas $";
version => "1.2.0";
ignore_missing_bundles => "true";
any::
bundlesequence => {
quarterly
};
inputs => {
"cluster/quarterly.cf",
"cluster/hourly.cf",
"cluster/daily.cf",
};
}
In each file i have a reports section:
quarterly.cf:
bundle agent quarterly {
reports:
any::
"$(sys.host): Quarterly executed";
}
hourly.cf:
bundle agent hourly {
reports:
debian::
"$(sys.host): Hourly executed";
}
daily.cf:
bundle agent daily {
reports:
debian::
"$(sys.host): Daily executed";
}
Now when cf-agent is run. It will fail:
{{{
cf3:/var/lib/cfengine3/inputs/cluster/daily.cf:4,0: reports promises may
not be in class 'any' - risk of a notification explosion, near token ''
cf-agent was not able to get confirmation of promises from cf-promises, so
going to failsafe
}}}
Note the error is in quarterly.cf and not daily.cf. If i replace quarterly
to the end of input list then the error is oke. When hourly.cf is the end
of the input list. I will say that the error is in hourly.cf. So is seems
that is allays say that the error is in the last input file for reports.
Must i fill in a bug report?
regards
PS) It is silly to fail on any:: section. I can also use other hard classes
eg: debian with the same effect.
--
********************************************************************
* Bas van der Vlies e-mail: [email protected] *
* SARA - Academic Computing Services Amsterdam, The Netherlands *
********************************************************************
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine