I use policy=>"free" on the variable to avoid these messages. Not sure if this is a solution or a workaround though...
vars: "foo" slist => { readstringlist ( "/tmp/foo" , "#.*" , "[\n]" , 1000 , 100000 ) }, policy => "free"; On Fri, Nov 26, 2010 at 1:00 AM, Marc Baudoin <baud...@stg-interactive.com> wrote: > Hi, > > cf-agent, used with the -I option and the attached test.cf file, > displays: > > !! Duplicate selection of value for variable "foo" in scope test > !! Rule from /home/user/.cfagent/inputs/test.cf at/before line 14 > !! Duplicate selection of value for variable "foo" in scope test > !! Rule from /home/user/.cfagent/inputs/test.cf at/before line 14 > > (yes, twice). I've not found any explanation about this message > in the manual (a list of all possible warning and error messages > along with their causes would be a great addition) and my Web > search engine didn't find anything useful. > > My policy seems simple enough... > > I'm using Cfengine community edition 3.1.1. > > Any idea? > > -- > Marc Baudoin > STG Interactive > > _______________________________________________ > 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