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