CFEngine Help: Re: CFEngine Help: edit_template array variable expansion

2012-05-25 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: edit_template array variable expansion Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,26062,26077#msg-26077 I'd say there is a bug in the code or the documentation. I get the same results. neil@ettin ~/.cfagent/inputs $

CFEngine Help: Re: CFEngine Help: edit_template array variable expansion

2012-05-25 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: edit_template array variable expansion Author: jremond Link to topic: https://cfengine.com/forum/read.php?3,26062,26076#msg-26076 New test /tmp/template.example contains : [%CFEngine BEGIN %] # BEGIN $(dhcp.hosts) name[$(dhcp.hosts)] dhcp.name[$(

CFEngine Help: Re: CFEngine Help: edit_template array variable expansion

2012-05-25 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: edit_template array variable expansion Author: jremond Link to topic: https://cfengine.com/forum/read.php?3,26062,26075#msg-26075 New version of my code test.cf : body common control { bundlesequence => { "dhcp", }; } bundle agent dhcp { vars:

CFEngine Help: Re: Variables defined in other agent bundles that are not activated

2012-05-25 Thread no-reply
Forum: CFEngine Help Subject: Re: Variables defined in other agent bundles that are not activated Author: nickanderson Link to topic: https://cfengine.com/forum/read.php?3,26072,26074#msg-26074 Ok thanks Diego. Some quick testing it seems like it only evaluates the vars section. when you do that

CFEngine Help: Re: Variables defined in other agent bundles that are not activated

2012-05-25 Thread no-reply
Forum: CFEngine Help Subject: Re: Variables defined in other agent bundles that are not activated Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,26072,26073#msg-26073 Nick, this is expected behavior. You can reference variables on any bundle, regardless of whether it has be

CFEngine Help: Variables defined in other agent bundles that are not activated

2012-05-25 Thread no-reply
Forum: CFEngine Help Subject: Variables defined in other agent bundles that are not activated Author: nickanderson Link to topic: https://cfengine.com/forum/read.php?3,26072,26072#msg-26072 Last night I noticed some behavior that was un-expected. I found that I could reference a variable from ano

CFEngine Help: Thread died in Berkeley DB library

2012-05-25 Thread no-reply
Forum: CFEngine Help Subject: Thread died in Berkeley DB library Author: roman.borovi...@ppdi.com Link to topic: https://cfengine.com/forum/read.php?3,26071,26071#msg-26071 Guys, I wonder if anybody else met the same situation? Sporadically cf-agent reports the following: rpmdb: Thread/process

Re: CFEngine Help: Templating the solution?

2012-05-25 Thread Mark Burgess
Consider using this approach instead of the bundlesequence https://cfengine.com/manuals/st-menus#How-do-you-create-menus-with-CFEngine On 05/25/2012 09:17 AM, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Templating the solution? > Author: tjavo87 > Link to topic: https://cfengi

CFEngine Help: Re: Templating the solution?

2012-05-25 Thread no-reply
Forum: CFEngine Help Subject: Re: Templating the solution? Author: tjavo87 Link to topic: https://cfengine.com/forum/read.php?3,26068,26069#msg-26069 Now I see that the topic Proper way to manage large unique files describes the same problem. ___ Help-

CFEngine Help: Templating the solution?

2012-05-25 Thread no-reply
Forum: CFEngine Help Subject: Templating the solution? Author: tjavo87 Link to topic: https://cfengine.com/forum/read.php?3,26068,26068#msg-26068 Hi Guys, I'm working with dynamic bundlesequences as described on the website from Neil, the first solution. bundle common g { vars: an