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