CFEngine Help: Strange "Overriding incorrect link"

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Strange "Overriding incorrect link" Author: loopx Link to topic: https://cfengine.com/forum/read.php?3,26754,26754#msg-26754 Hi, I get a strange behavior with this promise : bundle agent pam { files: winbind:: "/etc

CFEngine Help: Re: Var in var : limitation ?

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Re: Var in var : limitation ? Author: loopx Link to topic: https://cfengine.com/forum/read.php?3,26678,26755#msg-26755 :o that's a good idea. I will try to update the code ;) ___ Help-cfengine mailing list Help-cfengine@cfe

CFEngine Help: Re: Strange "Overriding incorrect link"

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Re: Strange "Overriding incorrect link" Author: loopx Link to topic: https://cfengine.com/forum/read.php?3,26754,26756#msg-26756 It seems to be a bug (or bad usage ...) ... I updated promise to use absolute link instead of relative link : "/e

CFEngine Help: Re: CFEngine Help: Re: Var in var : limitation ?

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: Var in var : limitation ? Author: loopx Link to topic: https://cfengine.com/forum/read.php?3,26688,26758#msg-26758 Here is a reproductible example. 2 files (located under input/) : test_global.cf : #

CFEngine Help: Re: How can I auto-restart cf-execd on update ?

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Re: How can I auto-restart cf-execd on update ? Author: loopx Link to topic: https://cfengine.com/forum/read.php?3,26491,26759#msg-26759 That's exactly what I was expecting :) Thank you for these information. ___ Help-cfen

CFEngine Help: Re: CFEngine Help: Re: Var in var : limitation ?

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: Var in var : limitation ? Author: loopx Link to topic: https://cfengine.com/forum/read.php?3,26688,26760#msg-26760 As Sauer told me in the original post, may be it's a better idea to use this kind of var : "repositories[$(g.service_detected]"

Re: CFEngine Help: Suggestions needed on folder structure and paths in promises

2012-07-30 Thread Nick Anderson
On 07/30/2012 01:50 AM, Tokarski Boleslaw wrote: > I am sure you can find a particular JDK version pre-packaged, I don't > know about maven. You can also checkout fpm https://github.com/jordansissel/fpm/ to help you with building custom packges. ___ Hel

CFEngine Help: Re: Strange "Overriding incorrect link"

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Re: Strange "Overriding incorrect link" Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,26754,26762#msg-26762 I think you should report this behaviour as a possible bug. https://cfengine.com/bugtracker/my_view_page.php ___

CFEngine Help: Re: Static cf3 binaries on Solaris & Linux

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Re: Static cf3 binaries on Solaris & Linux Author: saweron Link to topic: https://cfengine.com/forum/read.php?3,17198,26763#msg-26763 I realize I'm opening a world of hurt here but did anyone manage to compile static 3.3.x binaries on Solaris 10 (x86_64) with SunStu

CFEngine Help: Re: Strange "Overriding incorrect link"

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Re: Strange "Overriding incorrect link" Author: loopx Link to topic: https://cfengine.com/forum/read.php?3,26754,26764#msg-26764 Done : https://cfengine.com/bugtracker/view.php?id=1265 ___ Help-cfengine mailing list Help-cf

CFEngine Help: Re: configure pcre failure in rhel4

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Re: configure pcre failure in rhel4 Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,26696,26765#msg-26765 The include path isn't recursive, right? So you'll probably have to --with-pcre=/usr/include/pcre or change the configure script to look for

CFEngine Help: Re: CFEngine Help: Re: Append the content of file to another one without checking for duplicate lines

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: Append the content of file to another one without checking for duplicate lines Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,26711,26766#msg-26766 jbdenis Wrote: --- > The

CFEngine Help: Re: About "new" templates correct usage or limitations

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Re: About "new" templates correct usage or limitations Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,26723,26767#msg-26767 neilhwatson Wrote: --- > I agree that there are some unreasonable size >

CFEngine Help: Re: configure pcre failure in rhel4

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Re: configure pcre failure in rhel4 Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,26696,26768#msg-26768 Bug report and further discussion here: https://cfengine.com/bugtracker/view.php?id=1262 __

CFEngine Help: Re: configure pcre failure in rhel4

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Re: configure pcre failure in rhel4 Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,26696,26769#msg-26769 Makes me feel good to be half right, then. ;) ___ Help-cfengine mailing list Help-cfengine@cfengin

CFEngine Help: Re: configure pcre failure in rhel4

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Re: configure pcre failure in rhel4 Author: loopx Link to topic: https://cfengine.com/forum/read.php?3,26696,26770#msg-26770 Use Cfengine2 for RHEL4 ... ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfen

CFEngine Help: Re: About "new" templates correct usage or limitations

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Re: About "new" templates correct usage or limitations Author: jbdenis Link to topic: https://cfengine.com/forum/read.php?3,26723,26771#msg-26771 I think the problems raised in this post deserve some feedback from the CFEngine team. Is there something wrong in the

CFEngine Help: Re: Expansion overflow constructing string. Increase CF_EXPANDSIZE macro.

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Re: Expansion overflow constructing string. Increase CF_EXPANDSIZE macro. Author: jbdenis Link to topic: https://cfengine.com/forum/read.php?3,25040,26772#msg-26772 Hello, I don't know if the forum policy allows me to use this old post, feel free to tell me. I just

CFEngine Help: Re: Expansion overflow constructing string. Increase CF_EXPANDSIZE macro.

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Re: Expansion overflow constructing string. Increase CF_EXPANDSIZE macro. Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,25040,26773#msg-26773 Since this limit is in source code, and I'm no C programmer, I had to do with out. I think I used

CFEngine Help: Re: About "new" templates correct usage or limitations

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Re: About "new" templates correct usage or limitations Author: mark Link to topic: https://cfengine.com/forum/read.php?3,26723,26774#msg-26774 Hi, just a brief response from me. The idea of the begin end blocks is to allow iteration over sections. It is not to encaps

CFEngine Help: Re: About "new" templates correct usage or limitations

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Re: About "new" templates correct usage or limitations Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,26723,26775#msg-26775 Low memory usage is one of the great things about Cfengine. However, the majority of systems these days do have a lo

CFEngine Help: Re: About "new" templates correct usage or limitations

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Re: About "new" templates correct usage or limitations Author: th Link to topic: https://cfengine.com/forum/read.php?3,26723,26776#msg-26776 mark Wrote: --- >The idea of the begin end blocks is to allow iteration ove

CFEngine Help: Re: About "new" templates correct usage or limitations

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Re: About "new" templates correct usage or limitations Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,26723,26777#msg-26777 TH, you can also have BEGIN/END blocks without variables - in this case the effect is that of a "preserve_block", which

CFEngine Help: Re: About "new" templates correct usage or limitations

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Re: About "new" templates correct usage or limitations Author: mark Link to topic: https://cfengine.com/forum/read.php?3,26723,26778#msg-26778 The begin end only mark iterated sections. If it was the whole file, you would not need a begin and end, same with single li

CFEngine Help: Re: About "new" templates correct usage or limitations

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Re: About "new" templates correct usage or limitations Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,26723,26779#msg-26779 The traditional use of templates in Cfengine was to use one file with embedded variables. These variables where expa

CFEngine Help: Re: About "new" templates correct usage or limitations

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Re: About "new" templates correct usage or limitations Author: th Link to topic: https://cfengine.com/forum/read.php?3,26723,26780#msg-26780 mark Wrote: --- > The begin end only mark iterated sections. If it > was th

CFEngine Help: Re: About "new" templates correct usage or limitations

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Re: About "new" templates correct usage or limitations Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,26723,26781#msg-26781 th Wrote: > But let's say you don't want/need to iterate > sections but only to verbatim copy the whole file > with so

CFEngine Help: Re: About "new" templates correct usage or limitations

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Re: About "new" templates correct usage or limitations Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,26723,26782#msg-26782 But let's say you don't want/need to iterate sections but only to verbatim copy the whole file with some variables expansio

CFEngine Help: Re: About "new" templates correct usage or limitations

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Re: About "new" templates correct usage or limitations Author: mark Link to topic: https://cfengine.com/forum/read.php?3,26723,26783#msg-26783 You don't need to have *any* begin end sections in a template for it to expand scalar variables. Using expand_template would

CFEngine Help: Re: Expansion overflow constructing string. Increase CF_EXPANDSIZE macro.

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Re: Expansion overflow constructing string. Increase CF_EXPANDSIZE macro. Author: jbdenis Link to topic: https://cfengine.com/forum/read.php?3,25040,26784#msg-26784 Thank you for your answer. Let's see what happens in this very interesting thread https://cfengine.co

CFEngine Help: Using the new services promise types with Linux's chkconfig

2012-07-30 Thread no-reply
Forum: CFEngine Help Subject: Using the new services promise types with Linux's chkconfig Author: msvob...@linkedin.com Link to topic: https://cfengine.com/forum/read.php?3,26785,26785#msg-26785 I'm converting UNIX services over from a policy that I had written that utilized "process" and "comman