Forum: Cfengine Help
Subject: changing workdir
Author: hharun
Link to topic: https://cfengine.com/forum/read.php?3,20557,20557#msg-20557

Hello,
I am trying to move our cfengine 2 to cfengine 3 (community version). We are 
using cfengine-3.0.2-3.1.x86_64 rpm that comes with openSuSE 11.3.  In cfengine 
2, our workdir is /var/cfengine.  In cfengine 3, the workdir is 
/var/lib/cfengine.

How can I change workdir to use /var/cfengine
I have tried putting this in promises.cf

bundle common main
{
   vars:
        "workdir" string => "/var/cfengine";
....
}

Starting /usr/sbin/cf-agent -f /var/cfegine/inputs/promises.cf

But that didn't work.

Any help would be greatly appreciated.
Thanks. Hazita

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to