prudhvi <prudhviy@gmail.com> writes:
> I have to replicate couchdb in a binary tree format in nodes. say,
>
> root
> |
> --------------------------
> leaf1 leaf2
> | |
> ---------- -------------------
> node1 node2 node3 node4
>
> In general how to achieve nodes replication in puppet?
Define the structure by hand: work out which node should be told to replicate,
and to/from where.
Then work out how to test if it already is, by asking CouchDB, so you can
write something that will be told what to replicate, will test if it is, and
then will make it replicate if it doesn''t.
You could build that as an exec using shell scripts, or you could write it in
Ruby, but either way you are aiming at the same target.
Regards,
Daniel
--
✣ Daniel Pittman ✉ daniel@rimspace.net ☎ +61 401 155 707
♽ made with 100 percent post-consumer electrons
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.