]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commit
Ensure python-mysqldb is installed before MySQL db_sync
authorEmilien Macchi <emilien@redhat.com>
Sun, 26 Apr 2015 10:48:24 +0000 (06:48 -0400)
committerEmilien Macchi <emilien@redhat.com>
Sun, 26 Apr 2015 10:48:24 +0000 (06:48 -0400)
commit4cc03d183c753f7fcbb9560cfcd80fe8e5f5db45
tree0d4cd779c3b4adf4fa823110493b29025072a6f3
parentb22ed8d032850aea3d721557bc12c51d16846197
Ensure python-mysqldb is installed  before MySQL db_sync

When running MySQL for storage backend, we need to make sure
python-mysqldb is installed *before* the db_sync command, otherwise it
will fail:
"ImportError: No module named MySQLdb".

This patch ensure the ordering to ensure puppetlabs-mysql installed the
package before puppet-ceilometer tries to synchronize the MySQLdatabase.

Change-Id: Iae7c8f24fda32357a61ffa3b8597dd3413c303cb
manifests/db.pp