Chip Seraphine wrote:
> I have a directory (/var/cfengine/hostlib) on every machine where I
> simply copy all the Stuff that I want to go up to the server, and then
> the server iterates thru a list of clients (via dynamically generated
> cf.hostlibs file) and pulls it.
>
> It's a suboptimal apporach and has a lot of problems (performance and
> reliability), and if I was starting over again I would go a different
> route, such as having the clients use scp to push the files up, some
> creative rsyncing, a network file system (where possible), etc.
That's more or less what I am doing, the server iterating over the
client list, dynamically created as well. Only for a few hundred
clients, with invariably a few of them down, not yet installed, or
broken, the server just never seems to finish.
I'll have a look into the list partitioning logic in cfengine, to see
whether I can adapt it to something that works.
Corrolary question, does iterating over server lists work these days?
As in,
remote_hosts = ( host1:host2:host3 )
copy:
/path/file dest=/var/cfengine/collect/$(remote_hosts)/file
server=$(remote_hosts)
Alex
_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://lists.gnu.org/mailman/listinfo/help-cfengine