CFEngine Help: Re: unit_root_passwd.cf

2012-06-11 Thread no-reply
Forum: CFEngine Help Subject: Re: unit_root_passwd.cf Author: trumpjk Link to topic: https://cfengine.com/forum/read.php?3,26164,26168#msg-26168 I will give it a try. Thanks. ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org

CFEngine Help: Re: unit_root_passwd.cf

2012-06-11 Thread no-reply
Forum: CFEngine Help Subject: Re: unit_root_passwd.cf Author: bahamat Link to topic: https://cfengine.com/forum/read.php?3,26164,26167#msg-26167 Ok, I tested this stripped down: bundle agent pass { vars: "gotpw" int => readstringarray("pw","/tmp/pw.txt","#[^\n]*",":","3","200"); reports

CFEngine Help: Re: unit_root_passwd.cf

2012-06-11 Thread no-reply
Forum: CFEngine Help Subject: Re: unit_root_passwd.cf Author: trumpjk Link to topic: https://cfengine.com/forum/read.php?3,26164,26166#msg-26166 I am new to cfengine so forgive me if I do not give you exactly what you want the first time. I create a file /var/cfengine/ppkeys/rootpw.txt which con

CFEngine Help: Re: unit_root_passwd.cf

2012-06-11 Thread no-reply
Forum: CFEngine Help Subject: Re: unit_root_passwd.cf Author: bahamat Link to topic: https://cfengine.com/forum/read.php?3,26164,26165#msg-26165 Variables that are undefined don't expand, so your variable isn't getting set properly. Can you show the vars promises you have? __