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 commit8475c1afed
) (cherry picked from commit14ee3c820b
) (cherry picked from commit568b61b585
) (cherry picked from commit314bbbcc72
) (cherry picked from commit9e4cf669ba
)
This commit is contained in:
parent
8fe110ecea
commit
65f9bf4ad6
|
@ -62,11 +62,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