Forum: Cfengine Help
Subject: Re: iteration problem with execresult string assignment
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,16717,16720#msg-16720

Neil,

The bundle is intended to be used as

methods:
   "any" usebundle => system_startup("$(services_list)");

This way iteration problems arise when "services_list" is defined as slist. And 
even if "services_list" is defined as a string containing the only one service 
name (e.g. "ntpd"), the following warning is received during cf-agent -v:

cf3  !! Duplicate selection of value for variable "status" in scope 
system_startup

BTW, forum does not record/set References: header, so that the copy in the 
help-cfengine@ maillist can't be threaded which is disappointing a bit.

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

Reply via email to