Tag the httpd service only when it is used
Currently the placement-service tag is always added to the httpd
service, but it should not if an independent service is used to run
placement-api.
Change-Id: If39b4cabadc2d7d5c33ef7ac2b56d6adfdcdf456
(cherry picked from commit 8475c1afed
)
This commit is contained in:
parent
cf265e9507
commit
14ee3c820b
|
@ -66,11 +66,10 @@ class placement::api (
|
|||
Service['placement-api'] -> Service[$api_service_name]
|
||||
}
|
||||
$api_service_name_real = false
|
||||
Service <| title == 'httpd' |> { tag +> 'placement-service' }
|
||||
} else {
|
||||
$api_service_name_real = $api_service_name
|
||||
}
|
||||
|
||||
Service <| title == 'httpd' |> { tag +> 'placement-service' }
|
||||
} else {
|
||||
$api_service_name_real = $api_service_name
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue