Any rendered string can contain variables encapsulated with "$$" characters. Example: Display Name declared with `Port $$host.vars.tcp_port$$ check` will be processed as `"Port " + host.vars.tcp_port + " check"` API: ```bash ./director-curl POST director/service?name=my_service '{"display_name": "Port $$host.vars.tcp_port$$ check" }' ``` Rendered config: ``` apply Service "my_service" { import "my_template" display_name = "Port " + host.vars.tcp_port + " check" } ``` refs #11976 |
||
---|---|---|
.. | ||
rendered | ||
AssignRendererTest.php | ||
ExtensibleSetTest.php | ||
IcingaConfigHelperTest.php | ||
StateFilterTest.php |