Ensure that Mysql is installed before service is started.

This commit creates a conditional dependency that the keystone
db should be setup before the service is started.
This commit is contained in:
Dan Bode 2012-04-09 23:43:27 -07:00
parent f06483a9f7
commit 3ce47660ed

@ -38,7 +38,9 @@ class keystone::mysql(
$allowed_hosts = undef
) {
require mysql::python
Class['keystone::mysql'] -> Service<| title == 'keystone' |>
require 'mysql::python'
file { '/var/lib/keystone/keystone.db':
ensure => absent,