pacemaker: create Mysql_user once Galera is ready (puppet4)
authorEmilien Macchi <emilien@redhat.com>
Tue, 29 Nov 2016 21:57:20 +0000 (16:57 -0500)
committerEmilien Macchi <emilien@redhat.com>
Tue, 29 Nov 2016 21:58:34 +0000 (16:58 -0500)
commitf101ee540a450d3509e1c97aab00a97a2ecf8164
treeb0d95a75ac2d50c688ed618ad4ee64dfc5862a85
parent323e556e84a6487afa0034a5c4daf1d908b18f38
pacemaker: create Mysql_user once Galera is ready (puppet4)

Puppet 4 ordering make things more strict in catalog, which is good.
Resources have to be orchestrated or Puppet will take them in the order
they are found in catalog.

This patch makes sure we create MySQL users only when Galera is actually
ready.

Closes-Bug: #1645787
Change-Id: I536a1a128c3a7eca49bcc4f34a1307bcd60b029e
manifests/profile/pacemaker/database/mysql.pp