Cfengine Help: Re: Multi-dimensional arrays

2010-10-28 Thread no-reply
Forum: Cfengine Help Subject: Re: Multi-dimensional arrays Author: Igor Link to topic: https://cfengine.com/forum/read.php?3,13991,18938#msg-18938 If i can use "name based" slists in allowconnects/access rules without host2ip - it will be nice for me... but i read thread about it there :) _

Cfengine Help: Re: Multi-dimensional arrays

2010-10-28 Thread no-reply
Forum: Cfengine Help Subject: Re: Multi-dimensional arrays Author: Igor Link to topic: https://cfengine.com/forum/read.php?3,13991,18937#msg-18937 I'm trying create "primary" base of hosts (based on domain names of hosts) for use in both: 1) "allowconnects/access" rules (for using with host2ip)

Cfengine Help: Re: Multi-dimensional arrays

2010-10-28 Thread no-reply
Forum: Cfengine Help Subject: Re: Multi-dimensional arrays Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,13991,18936#msg-18936 >From my humblest point of view it seems like you're tryin' to make simple >things a hard way. The "keep it simple" approach never hurts, a

Cfengine Help: Re: Multi-dimensional arrays

2010-10-28 Thread no-reply
Forum: Cfengine Help Subject: Re: Multi-dimensional arrays Author: Igor Link to topic: https://cfengine.com/forum/read.php?3,13991,18935#msg-18935 Nice, but how i can join this into slist? Like: "results_1" slist => { "$(a[2][$(a_2_idx)])" }; ie, only [2] with /. ___

Re: Cfengine Help: Re: Multi-dimensional arrays

2010-10-27 Thread Daniel V. Klein
I guess that depends on what you mean by multidimensional arrays... :-) But this works: body common control { bundlesequence => { "test" }; nova_edition:: host_licenses_paid => "5"; } bundle agent test { vars: "a" string => "a"; "a[1]" string => "a sub 1"; "a[1][foo]" string => "a

Cfengine Help: Re: Multi-dimensional arrays

2010-10-27 Thread no-reply
Forum: Cfengine Help Subject: Re: Multi-dimensional arrays Author: Igor Link to topic: https://cfengine.com/forum/read.php?3,13991,18919#msg-18919 is this implemented? --- Igor ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.