Distill a three dimensional array to a two dimensional array?

2012-05-01 Thread Nick Anderson
I am toying around with bundles that take an array paramater distill down the relevant parts and call out to other bundles that take an array paramater. One of the cases I was messing around with is a three dimensional array "array[known][variable][variable]" string => "value" I know what the fi

CFEngine Help: Re: Fwd:CFEngine Help: Compile tokyocabinet AIX 7.1

2012-05-01 Thread no-reply
Forum: CFEngine Help Subject: Re: Fwd:CFEngine Help: Compile tokyocabinet AIX 7.1 Author: jonesy1234 Link to topic: https://cfengine.com/forum/read.php?3,25774,25796#msg-25796 Same outcome I'm afraid ___ Help-cfengine mailing list Help-cfengine@cfengine

CFEngine Help: Re: CFEngine Help: Usernames starting with numbers misinterpreted as UID

2012-05-01 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Usernames starting with numbers misinterpreted as UID Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,25788,25795#msg-25795 Hi, please file this as a bug at https://cfengine.com/bugtracker/ ___

CFEngine Help: Re: copy_from: would like priority list of sources, then silent fail

2012-05-01 Thread no-reply
Forum: CFEngine Help Subject: Re: copy_from: would like priority list of sources, then silent fail Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,25584,25794#msg-25794 David: yes, it's a global setting. I don't think it can be overridden (or set) on a per-promise basis. But

CFEngine Help: Re: copy_from: would like priority list of sources, then silent fail

2012-05-01 Thread no-reply
Forum: CFEngine Help Subject: Re: copy_from: would like priority list of sources, then silent fail Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,25584,25793#msg-25793 To clarify (or confirm?), this works because the promise key is just the filename, and the first copy_from wh

CFEngine Help: Re: Thoughts of encrypting the entire Cfengine workspace?

2012-05-01 Thread no-reply
Forum: CFEngine Help Subject: Re: Thoughts of encrypting the entire Cfengine workspace? Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,25714,25792#msg-25792 Encryption just slows things down, and if you have a policy which prevents non-root users from accessing the policy at t

CFEngine Help: Re: edit_template variable expansion

2012-05-01 Thread no-reply
Forum: CFEngine Help Subject: Re: edit_template variable expansion Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,25766,25790#msg-25790 It seems that the template is interpreted in the context of the edit_line bundle, so only variables local to the edit_line bundle would be vi

CFEngine Help: Re: CFEngine Help: Usernames starting with numbers misinterpreted as UID

2012-05-01 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Usernames starting with numbers misinterpreted as UID Author: j.mullins Link to topic: https://cfengine.com/forum/read.php?3,25788,25789#msg-25789 Below is a complete example showing incorrect behavior for both user and group names which start wit

Re: CFEngine Help: Usernames starting with numbers misinterpreted as UID

2012-05-01 Thread Aleksey Tsalolikhin
Could you post a self-contained example, please? Best, Aleksey On Tue, May 1, 2012 at 6:17 AM, wrote: > Forum: CFEngine Help > Subject: Usernames starting with numbers misinterpreted as UID > Author: j.mullins > Link to topic: https://cfengine.com/forum/read.php?3,25776,25776#msg-25776 > > Use

CFEngine Help: Re: CFEngine Help: Re: CFEngine Help: Re: CFEngine Help: Multple (identical) command executions optimized away?

2012-05-01 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: CFEngine Help: Re: CFEngine Help: Multple (identical) command executions optimized away? Author: nickanderson Link to topic: https://cfengine.com/forum/read.php?3,25778,25787#msg-25787 Yes variables and classes are different from other promises

Re: CFEngine Help: Re: CFEngine Help: Re: CFEngine Help: Multple (identical) command executions optimized away?

2012-05-01 Thread Neil Watson
On Tue, May 01, 2012 at 07:30:29PM +0200, no-re...@cfengine.com wrote: >Maybe one of the developers could answer to that. I could see it going >either way. Identical variables in separate bundles do not have this >behaviour because variables have the bundle context associated with >their global nam

CFEngine Help: Re: CFEngine Help: Re: CFEngine Help: Multple (identical) command executions optimized away?

2012-05-01 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: CFEngine Help: Multple (identical) command executions optimized away? Author: nickanderson Link to topic: https://cfengine.com/forum/read.php?3,25778,25785#msg-25785 I could see how you might expect identical promises in separate bundles to be

CFEngine Help: Re: CFEngine Help: Re: CFEngine Help: Multple (identical) command executions optimized away?

2012-05-01 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: CFEngine Help: Multple (identical) command executions optimized away? Author: j.mullins Link to topic: https://cfengine.com/forum/read.php?3,25778,25784#msg-25784 Thanks Nick. Your explanation makes sense, but it caught me off guard. Below is

CFEngine Help: Re: cfengine forum ssl cert

2012-05-01 Thread no-reply
Forum: CFEngine Help Subject: Re: cfengine forum ssl cert Author: jonhenrik Link to topic: https://cfengine.com/forum/read.php?3,25773,25783#msg-25783 It should be fixed now. It seems we used the wrong intermediate certificates from Verisign after renewing the cfengine.com certificate. Thanks f

CFEngine Help: Re: CFEngine Help: Multple (identical) command executions optimized away?

2012-05-01 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Multple (identical) command executions optimized away? Author: nickanderson Link to topic: https://cfengine.com/forum/read.php?3,25778,25781#msg-25781 Yeah, I tested it. It might not be locks but its still the same promise. I consider this is corre

CFEngine Help: Re: CFEngine Help: Multple (identical) command executions optimized away?

2012-05-01 Thread Nick Anderson
On 05/01/2012 09:34 AM, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Re: CFEngine Help: Multple (identical) command executions optimized > away? > Author: j.mullins > Link to topic: https://cfengine.com/forum/read.php?3,25778,25780#msg-25780 > > Nick, > > I don't believe this i

CFEngine Help: Re: CFEngine Help: Multple (identical) command executions optimized away?

2012-05-01 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Multple (identical) command executions optimized away? Author: j.mullins Link to topic: https://cfengine.com/forum/read.php?3,25778,25780#msg-25780 Nick, I don't believe this is related to locks. I see the same behavior even when I run without lo

CFEngine Help: Re: Multple (identical) command executions optimized away?

2012-05-01 Thread no-reply
Forum: CFEngine Help Subject: Re: Multple (identical) command executions optimized away? Author: nickanderson Link to topic: https://cfengine.com/forum/read.php?3,25777,25779#msg-25779 The mailing list created a new thread, copied into this thread. On 05/01/2012 08:29 AM, no-re...@cfengine.com wr

Re: CFEngine Help: Multple (identical) command executions optimized away?

2012-05-01 Thread Nick Anderson
On 05/01/2012 08:29 AM, no-re...@cfengine.com wrote: > If the same exact command is attempted to be executed multiple > times with the same agent bundle, only the first occurence is > executed. This is often necessary during system bootstraping, > where a program may need to be restarted several ti

CFEngine Help: Multple (identical) command executions optimized away?

2012-05-01 Thread no-reply
Forum: CFEngine Help Subject: Multple (identical) command executions optimized away? Author: j.mullins Link to topic: https://cfengine.com/forum/read.php?3,25777,25777#msg-25777 If the same exact command is attempted to be executed multiple times with the same agent bundle, only the first occuren

CFEngine Help: Usernames starting with numbers misinterpreted as UID

2012-05-01 Thread no-reply
Forum: CFEngine Help Subject: Usernames starting with numbers misinterpreted as UID Author: j.mullins Link to topic: https://cfengine.com/forum/read.php?3,25776,25776#msg-25776 Usernames which start with numbers are misinterpreted as UID's. This seems to be the case in all places where CFEngine t

Re: edit_template variable expansion

2012-05-01 Thread Bas van der Vlies
On 04/30/2012 10:46 PM, Nick Anderson wrote: I am just now starting to write some policy that uses the new template feature, its nice but I did notice that it seems I need to reference all variables globally. Is it intended behavior that the variable expansion for edit_template requires variable

Fwd:CFEngine Help: Compile tokyocabinet AIX 7.1

2012-05-01 Thread JIM AMANATIDIS (BLOOMBERG/ 731 LEXIN)
You can try adding -fno-strict-aliasing to your CFLAGS. - Original Message - From: no-re...@cfengine.com To: help-cfengine@cfengine.org At: 5/01 7:18:43 Forum: CFEngine Help Subject: Compile tokyocabinet AIX 7.1 Author: jonesy1234 Link to topic: https://cfengine.com/forum/read.php?3,25

CFEngine Help: cfengine forum ssl cert

2012-05-01 Thread no-reply
Forum: CFEngine Help Subject: cfengine forum ssl cert Author: jonesy1234 Link to topic: https://cfengine.com/forum/read.php?3,25773,25773#msg-25773 Is there any chance we could get an offically signed cert on the forum as I can't access it from work as our proxy blocks it? __

CFEngine Help: Compile tokyocabinet AIX 7.1

2012-05-01 Thread no-reply
Forum: CFEngine Help Subject: Compile tokyocabinet AIX 7.1 Author: jonesy1234 Link to topic: https://cfengine.com/forum/read.php?3,25772,25772#msg-25772 I'm having issue compling tokyocabinet on AIX. Please could someone take a look at the following output and maybe point me in the right directio