Revision b6e5c5cb
Added by Benoît PECCATTE over 7 years ago
techniques/system/distributePolicy/1.0/metadata.xml | ||
---|---|---|
<OUTPATH>distributePolicy/rsyslog.conf/rudder-rsyslog-relay.conf</OUTPATH>
|
||
<INCLUDED>false</INCLUDED>
|
||
</TML>
|
||
<TML name="nodeslist.json">
|
||
<OUTPATH>distributePolicy/1.0/nodeslist.json</OUTPATH>
|
||
<INCLUDED>false</INCLUDED>
|
||
</TML>
|
||
</TMLS>
|
||
|
||
<FILES>
|
||
... | ... | |
<NAME>NOVA</NAME>
|
||
<NAME>RUDDER_REPORTS_DB_NAME</NAME>
|
||
<NAME>RUDDER_REPORTS_DB_USER</NAME>
|
||
<NAME>SUB_NODES_NAME</NAME>
|
||
<NAME>SUB_NODES_ID</NAME>
|
||
<NAME>SUB_NODES_KEYHASH</NAME>
|
||
<NAME>SUB_NODES_SERVER</NAME>
|
||
</SYSTEMVARS>
|
||
|
||
<SECTIONS>
|
techniques/system/distributePolicy/1.0/nodeslist.json.st | ||
---|---|---|
{
|
||
&SUB_NODES_NAME, SUB_NODES_ID, SUB_NODES_KEYHASH, SUB_NODES_SERVER: {host, uuid, key, server |
|
||
"&uuid&": {
|
||
"hostname": "&host&",
|
||
"key-hash": "&key&",
|
||
"policy-server": "&server&"
|
||
}
|
||
};separator=",
|
||
" &
|
||
}
|
Also available in: Unified diff
Fixes #9710: Generate a file in relays promises that contain the map of nodes and relays below it