]> git.donarmstrong.com Git - dsa-puppet.git/blob - 3rdparty/modules/keystone/manifests/db/sync.pp
add stackforge/keystone to 3rdparty
[dsa-puppet.git] / 3rdparty / modules / keystone / manifests / db / sync.pp
1 #
2 # Class to execute "keystone-manage db_sync
3 #
4 class keystone::db::sync {
5   exec { 'keystone-manage db_sync':
6     path        => '/usr/bin',
7     user        => 'keystone',
8     refreshonly => true,
9     subscribe   => [Package['keystone'], Keystone_config['database/connection']],
10     require     => User['keystone'],
11   }
12
13   Exec['keystone-manage db_sync'] ~> Service<| title == 'keystone' |>
14 }