In Rapi, set master correctly
authorKlaus Aehlig <aehlig@google.com>
Wed, 17 Apr 2013 09:22:02 +0000 (11:22 +0200)
committerKlaus Aehlig <aehlig@google.com>
Fri, 19 Apr 2013 11:54:38 +0000 (13:54 +0200)
commitbf028b21cae6f6b792e6a472efcbd3b67ddd6e2a
treeb17f2b0819c46583903227864d0a8007b55dbfc2
parentf40fe08c55e915b6b0ab69f161e36fa0c025fdd8
In Rapi, set master correctly

The cluster data contains the information about the master
node. Use this information to set the isMaster bit correctly.

Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
src/Ganeti/HTools/Backend/Rapi.hs