It needs to be extended beyond that.  You have situations where you have
load balancers, knox urls, knox vanity urls for multiple knox servers, etc.

On Fri, Jan 11, 2019 at 3:34 AM Sean Roberts <[email protected]> wrote:

> Ambari experts - Within `quicklinks.json`, is it possible to have an OR
> condition?
>
> For example:
> set protocol="https" if
>   (desired=HTTPS_ONLY
>     OR desired=HTTP_AND_HTTPS)
>
> ```
> {
>   "name": "default",
>   "description": "default quick links configuration",
>   "configuration": {
>     "protocol":
>     {
>       "type":"https",
>       "checks":[
>         {
>           "property":"dfs.http.policy",
>           "desired":"HTTPS_ONLY",
>           "site":"hdfs-site"
>         }
>       ]
>     },
> ```
>
> --
> Sean Roberts
>

Reply via email to