Re: Pushing new strings into an existing slist

2010-09-08 Thread Trond Hasle Amundsen
Mark Burgess writes: > Sorry, Trond. This is not a convergent expression (infinite loop). You need > to use a > different variable to compose the result. > > vars: >any:: > "evil_files" slist => { @(other_list) }; >redhat:: > "evil_files" slist => { @(other_list), "/root/.rhos

Re: Pushing new strings into an existing slist

2010-09-08 Thread Mark Burgess
Sorry, Trond. This is not a convergent expression (infinite loop). You need to use a different variable to compose the result. vars: any:: "evil_files" slist => { @(other_list) }; redhat:: "evil_files" slist => { @(other_list), "/root/.rhosts", "/root/.shosts" }; This is conver

Pushing new strings into an existing slist

2010-09-08 Thread Trond Hasle Amundsen
Hi, Do you know if it's possible to extend an slist with additional values based on classes? Something along the lines of vars: any:: "evil_files" slist => { "/etc/hosts.equiv" }; redhat:: "evil_files" slist => { @(evil_files), "/root/.rhosts", "/root/.shosts" }; The above code does