Already don this ;-)
 * https://cfengine.com/bugtracker/view.php?id=889

Maybe the title is a little bit confusing.

On 16 dec. 2011, at 11:06, Mark Burgess wrote:

> 
> Thanks Bas,
> 
> maybe submit a bug report/feature request, so we don't lose this point.
> 
> M
> 
> On 12/16/2011 10:29 AM, Bas van der Vlies wrote:
>> Just another thought or improvement is in the way cf3 parse its 
>> configuration file.  It can be stricter and warn for some typo's. For example
>> after the keyword 'bundle' there can only be limited number of possible 
>> values:
>>  bundle<agent|server|monitor|server>
>> 
>> For now it allow every  possible name. If you make a typo it is hard to 
>> detect. The same holds for variables you get the $(variable_does_not_exists) 
>> in you file name or script name.
>> 
>> Here is an example that show the behavior:
>> 
>> bundle impossible global
>> {
>>     vars:
>>         "hello" string =>  "dit is een globale variable";
>> }
>> 
>> body common control
>> {
>>     bundlesequence =>  { test };
>> }
>> 
>> bundle agent test
>> {
>>    reports:
>>         cfengine::
>>             "$(global.hello)";
>> }
>> 
>> --
>> Bas van der Vlies
>> b...@sara.nl
>> 
>> 
>> 
>> _______________________________________________
>> Help-cfengine mailing list
>> Help-cfengine@cfengine.org
>> https://cfengine.org/mailman/listinfo/help-cfengine
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/help-cfengine

--
Bas van der Vlies
b...@sara.nl



_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to