Le 20/09/2011 15:41, no-re...@cfengine.com a écrit :
> Forum: CFEngine Help
> Subject: Re: Evaluation of bundlesequence with constructed mybundle(@(args))
> Author: jblaine
> Link to topic: https://cfengine.com/forum/read.php?3,23499,23552#msg-23552
>
> I'm still failing miserably.  The only differences I can see is that I'm 
> passing a list to my "method" bundle and your example passes a scalar ... and 
> I then have to pass mine on to an edit_line part.
>
> If anyone can see anything wrong, please point it out to me?
>
>  !! List parameter "servers" not found while constructing scope 
> "ntpclient_config_edit" - use @(scope.variable) in calling reference
> Scalar variable ntpclient_config_edit.servers contains itself 
> (non-convergent): @(servers)
>
I've seen this case of error when I passed variable that had the same
name as the parameter. Here both system_ntpclient_configure and
ntpclient_config_edit have the same parameter name and the first call
the later.
I'm not sure it is the cause of the problem (I have tried your code) but
it might be

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

Reply via email to