Re: replace_patterns issue

2011-02-15 Thread Bas van der Vlies
On 15 feb 2011, at 11:57, dennis.caboo...@snow.nl wrote: > Nice one! Works like a charm. Still don't know what went wrong with my > example, but thanks, I will use yours. :-) > As explained with yours it will always change the line every time cf-agent runs. That is why it is none convergent. >

Re: replace_patterns issue

2011-02-15 Thread Dennis . Cabooter
Nice one! Works like a charm. Still don't know what went wrong with my example, but thanks, I will use yours. :-) > On 15 feb 2011, at 09:50, dennis.caboo...@snow.nl wrote: > >> Hi there! >> >> I have a replace_patterns issue. >> >> - In /tmp/group I have the following: >> >> root@cfengine:~# gre

Re: replace_patterns issue

2011-02-15 Thread Bas van der Vlies
On 15 feb 2011, at 09:50, dennis.caboo...@snow.nl wrote: > Hi there! > > I have a replace_patterns issue. > > - In /tmp/group I have the following: > > root@cfengine:~# grep zenoss /tmp/group > zenoss:x:1001: > > - I have the following cfengine code: > > -- > body common control { >