Puppet Class: cubbystack::glance::db_sync

Defined in:
manifests/glance/db_sync.pp

Overview

Class: cubbystack::glance::db_sync

Schedules and performs the ‘glance-manage db_sync` command.



5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'manifests/glance/db_sync.pp', line 5

class cubbystack::glance::db_sync {

  # Order and notifications
  Package<| tag == 'glance' |>           ~> Exec['glance-manage db_sync']
  Cubbystack_config<| tag == 'glance' |> -> Exec['glance-manage db_sync']
  Exec['glance-manage db_sync']          -> Service<| tag == 'glance' |>

  exec { 'glance-manage db_sync':
    path        => '/usr/bin',
    refreshonly => true,
    logoutput   => 'on_failure',
  }

}