Fix lodgeit puppet bugs.
Add a service dependency and subscribe lodgeit to drizzle refresh events. Change-Id: I4ed1d5255e8e46854133f00262904291ff5f1c41 Reviewed-on: https://review.openstack.org/34893 Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Reviewed-by: Elizabeth Krumbach Joseph <lyz@princessleia.com> Approved: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Tested-by: Jenkins
This commit is contained in:
parent
3d2d1772fe
commit
a590e41d90
@ -42,6 +42,7 @@ class lodgeit {
|
||||
service { 'drizzle':
|
||||
ensure => running,
|
||||
hasrestart => true,
|
||||
require => Package['drizzle'],
|
||||
}
|
||||
|
||||
vcsrepo { '/tmp/lodgeit-main':
|
||||
|
@ -75,8 +75,9 @@ define lodgeit::site(
|
||||
}
|
||||
|
||||
service { "${name}-paste":
|
||||
ensure => running,
|
||||
provider => upstart,
|
||||
require => [Service['drizzle', 'apache2'], Exec["create_database_${name}"]],
|
||||
ensure => running,
|
||||
provider => upstart,
|
||||
require => [Service['drizzle', 'apache2'], Exec["create_database_${name}"]],
|
||||
subscribe => Service['drizzle'],
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user