bernd.adamow...@external.icw-global.com wrote:
>
> While (re-)installing 3.0.3 Community I was wondering once again which 
> is the correct way to get the working directory /var/cfengine. 
> Obviously it is not created when issuing 'make install' as root. But 
> when executing 'cf-execd' the first time, the initial structure is 
> created. However, there are still the binaries missing below 
> /var/cfengine/bin which I then copied manually. And after making some 
> further changes (e.g. 'chmod 700 ppkeys') one gets a valid working 
> directory for Cfengine.
>
> But is this the intended way? How do others handle that?
>
> Thanks Bernd


Hi Bernd,

What I do after a make install is :

% mkdir -p /var/cfengine/masterfiles 
% cp /usr/local/share/cfengine/*.cf /var/cfengine/masterfiles
% cd /var/cfengine/masterfiles
% /usr/local/sbin/cf-agent --bootstrap


The bootstrap copy all the necessary and creates the keys.

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

Reply via email to