diff --git a/manifests/api.pp b/manifests/api.pp index 515a48e6..9b8ff8cc 100644 --- a/manifests/api.pp +++ b/manifests/api.pp @@ -115,9 +115,9 @@ class heat::api ( } # we need to make sure heat-api/eventlet is stopped before trying to start apache - Service['heat-api'] -> Service[$::apache::params::service_name] + Service['heat-api'] -> Service[$service_name] # the apache service is untagged so add it to the service section manually - Anchor['heat::service::begin'] ~> Service[$::apache::params::service_name] + Anchor['heat::service::begin'] ~> Service[$service_name] } else { fail("Invalid service_name. Either heat-api/openstack-heat-api for \ running as a standalone service, or httpd for being run by a httpd server") diff --git a/manifests/api_cfn.pp b/manifests/api_cfn.pp index 69214051..eb67b725 100644 --- a/manifests/api_cfn.pp +++ b/manifests/api_cfn.pp @@ -118,9 +118,9 @@ class heat::api_cfn ( } # we need to make sure heat-api-cfn/eventlet is stopped before trying to start apache - Service['heat-api-cfn'] -> Service[$::apache::params::service_name] + Service['heat-api-cfn'] -> Service[$service_name] # the apache service is untagged so add it to the service section manually - Anchor['heat::service::begin'] ~> Service[$::apache::params::service_name] + Anchor['heat::service::begin'] ~> Service[$service_name] } else { fail("Invalid service_name. Either heat-api-cfn/openstack-heat-api-cfn for \ running as a standalone service, or httpd for being run by a httpd server")