puppet-cinder/manifests/db/sync.pp

15 lines
343 B
Puppet

#
class cinder::db::sync {
include cinder::params
exec { 'cinder-manage db_sync':
command => $::cinder::params::db_sync_command,
path => '/usr/bin',
user => 'cinder',
refreshonly => true,
require => [File[$::cinder::params::cinder_conf], Class['cinder']],
logoutput => 'on_failure',
}
}