Re: CFEngine Help: Re: readstringarray stopped working

2012-06-04 Thread Marco Marongiu
On 04/06/2012 09:50, no-re...@cfengine.com wrote: > If it's that same bug, try the workarounds I listed in the bug > report: either hardcode the filename, or put an intermediate bundle > in between. Pass the name as a variable to the interim bundle and let > the interim bundle call your final bundl

CFEngine Help: Re: CFEngine Help: Re: readstringarray stopped working

2012-06-04 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: readstringarray stopped working Author: lauwersw Link to topic: https://cfengine.com/forum/read.php?3,26096,26120#msg-26120 Hi, If it's that same bug, try the workarounds I listed in the bug report: either hardcode the filename, or p

Re: CFEngine Help: Re: readstringarray stopped working

2012-06-03 Thread Marco Marongiu
On 01/06/12 18:40, Marco Marongiu wrote: > FYI, I tried to move the readstringarray call up and up in the stack, > and it didn't work properly (i.e.: set $(records) as it should) until I > put it the top, non-parametric bundle (bundle agent test). Could it be bug 887? https://cfengine.com/bugtrack

Re: CFEngine Help: Re: readstringarray stopped working

2012-06-01 Thread Marco Marongiu
On 01/06/2012 17:37, Marco Marongiu wrote: > What I really fail to understand is why the readstringarray function > doesn't fill out $(records) any more when I make the bundles > parametric. Can you reproduce that? Is it a because of a stupid > mistake on my side? FYI, I tried to move the readst

Re: CFEngine Help: Re: readstringarray stopped working

2012-06-01 Thread Marco Marongiu
On 31/05/2012 20:48, no-re...@cfengine.com wrote: > Marco, please look at my reply to your original message (which > admittedly, I just posted, although I thought I had posted it way > back then): > https://cfengine.com/forum/read.php?3,26058,26098#msg-26098 :-D > I haven't looked at your new bu

CFEngine Help: Re: readstringarray stopped working

2012-05-31 Thread no-reply
Forum: CFEngine Help Subject: Re: readstringarray stopped working Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,26096,26099#msg-26099 Marco, please look at my reply to your original message (which admittedly, I just posted, although I thought I had posted it way back then

readstringarray stopped working

2012-05-31 Thread Marco Marongiu
Hi all I didn't get much consideration with my latest messages, but I will try again :-D As said on May 24th, I am trying to manage /etc/hosts in a decent way, adding records that should be there but aren't, or removing some which are there but shouldn't. After a lot of trial and error, and some