help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie question


From: Mark . Burgess
Subject: Re: Newbie question
Date: Mon, 30 Jul 2001 22:55:47 +0200 (MET DST)

On 30 Jul, Ted Zlatanov wrote:
> address@hidden writes:
> 
>> Every host needs a copy of the config which it can read. Best way
>> is to copy it all from some central location:
>> 
>> copy:
>> 
>>   /masterfiles/cfengine.conf dest=/usr/local/cfengine/cfengine.conf
>>    server=myhost
> 
> The problem I've found with that approach is that a syntax error in
> the cfengine.conf file can prevent further copies from working.  Also,
> you need cfd to run on the central server.
> 
> I use this instead (a slightly modified cfdaily from the distribution
> examples).  You need to set up a rsync server on the mainhost
> machine.  The actual rsync is very quick and reliable, not to mention
> that it has a lot of useful options and allow/deny host rules.
> 
> The place where main-cfengine files live on mainhost should not be the
> same as the CFINPUTS directory, so you can execute the same cfdaily
> script on any machine.  Otherwise you need to do if-thens, and so on.
> 
> Ted
>

This is a good idea for now, but it will all be taken care of
smoothly in cfengine 2.

M

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  address@hidden
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

[Prev in Thread] Current Thread [Next in Thread]