[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Editfiles Convergence
From: |
Brian E. Seppanen |
Subject: |
Editfiles Convergence |
Date: |
Wed, 15 Dec 2004 14:30:49 -0500 (EST) |
Hello:
I have a file that I distribute to a number of different hosts originating
from a masterhost. In some circumstances this file is modified on the
receiving end to change the functional role of the configuration. My
question is if this file is always intended to copy the file from a master
host, and that an editfile is necessary to change the configuration is
that considered a convergent configuration?
i.e.
copy:
any::
/etc/testfile
dest=/etc/testfile
server=192.168.1.2
encrypt=true
type=sum
define=update
editfiles:
hosta::
{ /etc/testfile
ReplaceAll "Change Me" With "I'm Different"
}
shellcommands:
update.any::
/etc/init.d/test restart
In this situation will the file always be copied because an endpoint
editfile is necessary to converge? If it is always copied that would
seem to define the action of restarting the service each time?
Can someone better versed in cfengine enlighten me?
PS: I can't imagine a system administration environment without cfengine
(or rather I don't want to).
Thanks,
Brian Seppanen
seppy@chartermi.net
906-475-0107 ext 1040
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Editfiles Convergence,
Brian E. Seppanen <=