Move a function from backend to ssconf
authorMichael Hanselmann <hansmi@google.com>
Thu, 4 Oct 2012 01:30:09 +0000 (03:30 +0200)
committerMichael Hanselmann <hansmi@google.com>
Thu, 4 Oct 2012 01:38:32 +0000 (03:38 +0200)
commitee501db1b85addbf981782924cb43bba1a78dddd
tree114e5f0875dc0fc4feca0b9216943f7f1a7a855a
parent33e2603829c43c0849c1eb3d71e77f8dc3496e42
Move a function from backend to ssconf

The “WriteSsconfFiles” function is used to write ssconf files. By moving
it we can avoid importing backend into bootstrap. The latter is imported
by CLI programs and backend doesn't have much to do with them.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/backend.py
lib/bootstrap.py
lib/server/noded.py
lib/ssconf.py