Rewrite autocluster in Python
authorMartin Schwenke <martin@meltin.net>
Wed, 27 Feb 2019 04:11:58 +0000 (15:11 +1100)
committerMartin Schwenke <martin@meltin.net>
Mon, 25 Mar 2019 05:52:25 +0000 (16:52 +1100)
commit5cc52f23c345faf13daf579c3e8eaafb5a08a56c
treeba845d87ee0b54c4e67b4750cb2f2245d6e67f8c
parent51ff83de30db6934e243226ce05c6394b8986a12
Rewrite autocluster in Python

Reads a YAML configuration, with defaults in defaults.yml.  This
replaces the bash version.

Currently does the following actions for cluster <cluster>: defaults,
dump, status, generate, destroy, create, ssh_config, setup, build.

update_hosts is replaced by ssh_update.  If necessary, hosts file can
be updated by hand using hosts file in state directory.

Update build/packaging and example configuration file.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Makefile
autocluster.py [new file with mode: 0755]
autocluster.spec.in
defaults.yml [new file with mode: 0644]
example.yml [new file with mode: 0644]