My mistakes, the path of the files to be copied is wrong, and it does 
not create the keys, but create the bins.

nicolas:/var/#mv cfengine/ cfengine.bak/
nicolas:/var/#mkdir -p /var/cfengine/masterfiles
nicolas:/var/#cp /usr/local/share/doc/cfengine/inputs/*.cf 
/var/cfengine/masterfiles
nicolas:/var/#cd /var/cfengine/masterfiles
nicolas:/var/cfengine/masterfiles/# /usr/local/sbin/cf-agent --bootstrap
nicolas:/var/cfengine/masterfiles/#cd ../bin
nicolas:/var/cfengine/bin/# ./cf-agent -V
This comprises cf-agent core community version 3.0.3 - (C) Cfengine AS 2008-




bernd.adamow...@external.icw-global.com wrote:
>
> Hi Nicolas,
>
> I cannot repoduce this. 'cf-agent --bootstrap' neither copies the 
> binaries nor creates any keys. Both still has to be done manually.
>
> Regards
> Bernd
>
>
>
>
>
>
> Nicolas Charles <charl...@gmail.com> wrote on 11.01.2010 15:54:07:
>
> > [image removed]
> >
> > Re: Recommended way to get /var/cfengine
> >
> > Nicolas Charles
> >
> > to:
> >
> > bernd.adamowicz
> >
> > 11.01.2010 15:54
> >
> > Cc:
> >
> > help-cfengine
> >
> > 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
>
> InterComponentWare AG:
> Vorstand: Peter Kirschbauer (Vors.), Jörg Stadler / 
> Aufsichtsratsvors.: Prof. Dr. Christof Hettich
> Firmensitz: 69190 Walldorf, Industriestraße 41 / AG Mannheim HRB 
> 351761 / USt.-IdNr.: DE 198388516
> ------------------------------------------------------------------------
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/help-cfengine
>   

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

Reply via email to