Sorry, I was unattentional. 2010/11/11 Bas van der Vlies <b...@sara.nl>: > On 11-11-10 12:05, Seva Gluschenko wrote: >> >> Bas, >> >> go use other hard class like debian and don't try to use any in >> reports ). It's Mark's way to implement the "The compiler won't let >> you shoot yourself in the foot" pragma. >> > Seva, > > It is still parser bug, because cf-agent reports the error for the wrong > file. This setup was only to show the parser bug. > >> 2010/11/11 Bas van der Vlies<b...@sara.nl>: >>> >>> 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: b...@sara.nl * >>> * SARA - Academic Computing Services Amsterdam, The Netherlands * >>> ******************************************************************** >>> _______________________________________________ >>> Help-cfengine mailing list >>> Help-cfengine@cfengine.org >>> https://cfengine.org/mailman/listinfo/help-cfengine >>> >> >> >> > > > -- > ******************************************************************** > * Bas van der Vlies e-mail: b...@sara.nl * > * SARA - Academic Computing Services Amsterdam, The Netherlands * > ******************************************************************** >
-- SY, Seva Gluschenko. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine