Good evening,
another question regarding my sync rule which generates the HTTP service checks. I fetch the Apache::VHost resources from my PuppetDB. Some of them have a proxy_pass rule. In case they have it, I want to use the path as http_uri for the http check command. Otherwise http_uri should be / which is the default AFAIK.
I tried it with a filter based sync rule property but that failed. I think the problem is to access the path insinde the proxy_pass rule, because it looks like one or more hashes inside an array:
proxy_pass: [
{
path: "/synchrony-proxy",
url: "http://127.0.0.1:8091/"
},
{
path: "/synchrony",
url: "http://127.0.0.1:8091/"
},
{
no_proxy_uris: [
"/robots.txt",
"/error"
],
params: { timeout: 600 },
path: "/",
url: "http://127.0.0.1:9011/"
}
],
Regards, Christian