Fix bug introduced by notify apache for aodh-api
The change [1] was wrong since it uses the wrong resource name for the puppetlabs-apache Service defintion [2]. Instead of the revert this fixes it by changing it back to the proper variable which has the value 'httpd'. [1] https://review.openstack.org/#/c/580618/ [2] https://github.com/puppetlabs/puppetlabs-apache/blob/master/manifests/service.pp#L43 Change-Id: If90241c5f0b74d1c72f222d40bd82e55ef6995c9
This commit is contained in:
parent
9f752eac3e
commit
33df930eab
|
@ -124,9 +124,9 @@ release. aodh::wsgi::apache supports setting a port.')
|
|||
}
|
||||
|
||||
# we need to make sure aodh-api/eventlet is stopped before trying to start apache
|
||||
Service['aodh-api'] -> Service[$::apache::params::service_name]
|
||||
Service['aodh-api'] -> Service[$service_name]
|
||||
# the apache service is untagged so add it to the service section manually
|
||||
Anchor['aodh::service::begin'] ~> Service[$::apache::params::service_name]
|
||||
Anchor['aodh::service::begin'] ~> Service[$service_name]
|
||||
} else {
|
||||
fail("Invalid service_name. Either aodh/openstack-aodh-api for running \
|
||||
as a standalone service, or httpd for being run by a httpd server")
|
||||
|
|
Loading…
Reference in New Issue