Re: CFEngine Help: Re: insert_lines and file select

2012-03-30 Thread Nick Anderson
On 03/30/2012 11:36 AM, Oace, Tod R wrote: >> Author: tuibelgium >> Link to topic: https://cfengine.com/forum/read.php?3,25409,25417#msg-25417 >> >> So there is no such thing as: >> >> vars: >> "file" slist => fileselect( .* ) > > > The lsdir() added in 3.3.0 seems like what you want. > https://c

Re: CFEngine Help: Re: insert_lines and file select

2012-03-30 Thread Oace, Tod R
> Author: tuibelgium > Link to topic: https://cfengine.com/forum/read.php?3,25409,25417#msg-25417 > > So there is no such thing as: > > vars: > "file" slist => fileselect( .* ) The lsdir() added in 3.3.0 seems like what you want. https://cfengine.com/manuals/cf3-reference#Function-lsdir -- To

CFEngine Help: Re: insert_lines and file select

2012-03-30 Thread no-reply
Forum: CFEngine Help Subject: Re: insert_lines and file select Author: tuibelgium Link to topic: https://cfengine.com/forum/read.php?3,25409,25417#msg-25417 So there is no such thing as: vars: "file" slist => fileselect( .* ) ___ Help-cfengine mailing

CFEngine Help: Re: insert_lines and file select

2012-03-29 Thread no-reply
Forum: CFEngine Help Subject: Re: insert_lines and file select Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,25409,25410#msg-25410 Perhaps a small amount of shell commands inside an execresult function. Then split the string into a list. __