Re: canonify'ing / classify'ing the LHS of a class statement

2012-10-05 Thread Aleksey Tsalolikhin
On Thu, Oct 4, 2012 at 4:19 PM, Mike Svoboda wrote: > I'm writing a policy that will test network firewall rules to make sure > basic pieces of infrastructure work. Here's an example of something I > have written in policy. > > > vars: > "ntp_service_hosts" slist => {"box1-linkedin

CFEngine 3 course in Palo Alto on October 22-25, we still have 3 spots left. :)

2012-10-05 Thread Aleksey Tsalolikhin
Hi, We still have 3 spots left in our professional CFEngine 3 course coming up in Palo Alto, October 22 - 25. We have high standards in our training, and are proud of the results we achieve: "Aleksey works very hard to provide the best experience for CFEngine users. He is personable, diligen

Re: canonify'ing / classify'ing the LHS of a class statement

2012-10-05 Thread Mike Svoboda
Aleksey, you are the BOMB! Thank you my friend. We should meet up for beers in the near future. I hear its good for "social networking." ;-) Cheers! (no pun intended) Mike On 10/5/12 5:20 AM, "Aleksey Tsalolikhin" wrote: >On Thu, Oct 4, 2012 at 4:19 PM, Mike Svoboda >wrote: >> I'm wri

Re: slist inside array

2012-10-05 Thread Aleksey Tsalolikhin
On Thu, Oct 4, 2012 at 5:11 AM, wrote: > Hi all, > > The slist I put into the array doesn't expand. That is a known limitation. I've bumped into this as well. I think this will be fixed in a future version? Aleksey ___ Help-cfengine mailing list He

Re: slist inside array

2012-10-05 Thread Nick Anderson
Yeah I keep running into it too, you can pull it back out into another list and iterate as a workaround. -- Sent from Kaiten Mail for Android. Please excuse my brevity. ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mail

Re: slist inside array

2012-10-05 Thread Mike Svoboda
Can you use a methods promise to pass the slist as an argument down into a lower bundle? Kind of a hack, but I think it would do what you want.. The first variable expansion in your primary policy would extract the slist out of the array. Once you were in the "sub bundle" via the method promise,