Files
puppet-keystone/manifests/db/sync.pp
Colleen Murphy 6e108f23b8 Migrate mysql backend to use openstacklib::db::mysql
Implements: blueprint commmon-openstack-database-resource
Change-Id: I5dc293c1b8033000523fae504f789199599cf447
2014-08-28 08:56:55 -05:00

15 lines
394 B
Puppet

#
# Class to execute "keystone-manage db_sync
#
class keystone::db::sync {
exec { 'keystone-manage db_sync':
path => '/usr/bin',
user => 'keystone',
refreshonly => true,
subscribe => [Package['keystone'], Keystone_config['database/connection']],
require => User['keystone'],
}
Exec['keystone-manage db_sync'] ~> Service<| title == 'keystone' |>
}