diff --git a/chef/cookbooks/ceilometer/recipes/mongodb.rb b/chef/cookbooks/ceilometer/recipes/mongodb.rb index 480dc9c543..31c12a1f56 100644 --- a/chef/cookbooks/ceilometer/recipes/mongodb.rb +++ b/chef/cookbooks/ceilometer/recipes/mongodb.rb @@ -46,6 +46,11 @@ end if ha_enabled + # Wait for all nodes to reach this point so we know that all nodes + # will have all the required packages installed and configured before + # we create the pacemaker resources. + crowbar_pacemaker_sync_mark "sync-mongodb_before_ha" + crowbar_pacemaker_sync_mark "wait-mongodb_service" pacemaker_primitive "mongodb" do