26 lines
1.1 KiB
XML
26 lines
1.1 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<rougail version="0.10">
|
|
<services>
|
|
<service name="prometheus" target="multi-user">
|
|
<override/>
|
|
<file engine="none" source="sysuser-prometheus.conf">/sysusers.d/prometheus.conf</file>
|
|
<file engine="none" source="tmpfile-prometheus.conf">/tmpfiles.d/0prometheus.conf</file>
|
|
<file engine="ansible">/etc/prometheus/prometheus.yml</file>
|
|
<file engine="ansible">/etc/default/prometheus</file>
|
|
</service>
|
|
</services>
|
|
<variables>
|
|
<family name="prometheus">
|
|
<variable name="client_addresses" type="domainname" provider="Prometheus" multi="True"/>
|
|
<variable name="client_ip_addresses" type="ip" multi="True" provider="Prometheus:address" mandatory="False"/>
|
|
<variable name="listen_address" type="ip" hidden="True"/>
|
|
</family>
|
|
</variables>
|
|
<constraints>
|
|
<fill name="get_ip">
|
|
<param type="information">zones</param>
|
|
<param type="information" variable="providers">Prometheus</param>
|
|
<target>listen_address</target>
|
|
</fill>
|
|
</constraints>
|
|
</rougail>
|