Add create_node_DEFAULT, no more hack_nodes_functions
authorMartin Schwenke <martin@meltin.net>
Wed, 2 Jul 2014 01:56:54 +0000 (11:56 +1000)
committerMartin Schwenke <martin@meltin.net>
Wed, 2 Jul 2014 10:26:52 +0000 (20:26 +1000)
commita24dcfc63f5074f2971c869b24880dc77c2f3232
tree11f24c931a437b425f2d0153a9d00a49dbe38fb6
parent55d315b1118283c60edaf365ef9b123eaea27bed
Add create_node_DEFAULT, no more hack_nodes_functions

Reduce the amount of work needed to define how to create a new node
type.

* Each node type definition needs to define node_name_format_<TYPE>()

* Node types that should be part of the CTDB cluster should define
  node_is_ctdb_node_<TYPE>() and have it echo 1

* Nodes need not define create_node_<TYPE>() if they don't do anything
  unusual.

Signed-off-by: Martin Schwenke <martin@meltin.net>
autocluster
config.d/00base.defconf
config.d/50node_nas.defconf
config.d/51node_rhel_base.defconf [new file with mode: 0644]
config.d/52node_build.defconf
config.d/55node_storage_gpfs.defconf
config.d/57node_ad.defconf
config.d/60tsm.defconf