htools: add confd server module
authorIustin Pop <iustin@google.com>
Thu, 24 Nov 2011 14:04:32 +0000 (15:04 +0100)
committerIustin Pop <iustin@google.com>
Tue, 13 Mar 2012 13:12:34 +0000 (14:12 +0100)
commit358a0a8fff16046d068168f0856694c363dbe5d2
tree08eaf6bb6b1cd8911306a71f9e82d372b94aa8ac
parent6ec7a50e66085b18824aef753551ae91b3fcb74a
htools: add confd server module

This contains a more-or-less complete implementation for the
server-side confd.

Note that most of the code is behaving identical to the Python code,
with a notable exception: the asyncore/inotify code was changed (since
Haskell doesn't have asyncore) to 3-thread system. While otherwise I
tried to keep the code flow identical, I found the original Python
code not easily to reason about, and as such I changed the
architecture in this regard.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Makefile.am
htools/Ganeti/Confd/Server.hs [new file with mode: 0644]