api: Fail when service name is not supported
... instead of completing the deployment without managing services. Change-Id: I571752b3ea9e05b1f6118021ff20cafa4dc0f508
This commit is contained in:
parent
7df58f7657
commit
259f660eef
|
@ -196,6 +196,9 @@ Use the enabled_provider_drivers parameter instead.')
|
|||
}
|
||||
Service['octavia-api'] -> Service[$service_name]
|
||||
Service<| title == 'httpd' |> { tag +> ['octavia-service', 'octavia-db-sync-service'] }
|
||||
} else {
|
||||
fail("Invalid service_name. Either octavia-api/openstack-octavia-api for \
|
||||
running as a standalone service, or httpd for being run by a httpd server")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue