Puppet Class: cubbystack::heat::db_sync
- Defined in:
- manifests/heat/db_sync.pp
Overview
Class: cubbystack::heat::db_sync
Schedules and performs the ‘heat-manage db sync` command.
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'manifests/heat/db_sync.pp', line 5
class cubbystack::heat::db_sync {
# Order the db sync correctly
Package<| tag == 'heat' |> ~> Exec['heat-manage db_sync']
Cubbystack_config<| tag == 'heat' |> -> Exec['heat-manage db_sync']
Exec['heat-manage db_sync'] ~> Service<| tag == 'heat' |>
# Configure the heat database
exec { 'heat-manage db_sync':
path => '/usr/bin',
refreshonly => true,
logoutput => 'on_failure',
}
}
|