Skip to content
jhowarth edited this page Mar 26, 2013 · 1 revision

To bootstrap existing machines with MotherBrain, use the cluster_bootstrap block:

cluster_bootstrap do
  bootstrap "component_name::group_name"
end

This requires a json manifest to tell MotherBrain which boxes to use for which services:

{
  "nodes": [
    {
      "groups": ["component_1::group_1", "component_1::group_2"],
      "hosts": [
        "host1",
        "host2"
       ]
    },
    {
      "groups": ["component_2::group_1"],
      "hosts": [
        "host1"
      ]
    }
  ]
}
Clone this wiki locally