Files
puppet-cinder/manifests/db/sync.pp
Clayton O'Neill 6c47d9f4bc Add Puppet 4.x lint checks
This changes the puppet-lint requirement to 1.1.x, so that we can use
puppet-lint plugins.  Most of these plugins are for 4.x compat, but some
just catch common errors.

Change-Id: I6a4e08d91f8cc19eb1e59af03a2a7d14716ddc38
2015-02-21 12:09:04 +01:00

15 lines
345 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',
}
}