CFEngine Help: Re: Testing variable types

2012-03-22 Thread no-reply
Forum: CFEngine Help Subject: Re: Testing variable types Author: n...@cmdln.org Link to topic: https://cfengine.com/forum/read.php?3,25321,25356#msg-25356 I think I wasn't very clear. I see that in the copbl both edit_line append_if_no_line(str) and edit_line append_if_no_lines(list) are present

CFEngine Help: Re: Testing variable types

2012-03-22 Thread no-reply
Forum: CFEngine Help Subject: Re: Testing variable types Author: JarleB Link to topic: https://cfengine.com/forum/read.php?3,25321,25353#msg-25353 There isn't any dynamic type casting in cfengine3 when variables are created (like perl for instance). You must tell if is a string or and slist in th