Sha256: de012f66ac3969692f693cb5771d37a93169c5f07f73016d44afb89a0c5f62e1
Contents?: true
Size: 478 Bytes
Versions: 4
Compression:
Stored size: 478 Bytes
Contents
<% routers.each do |router| -%> <% if router['linklocalip'] -%> object Host "<%= router['name'] %> (<%= router['linklocalip'] %>)<%= " - #{router['project']}" if router['project'] %> - <%= router['zonename'] %>" { import "generic-host" address = "<%= router['linklocalip'] %>" groups = [ "CloudstackRouter" <%= ', "datacenter-ix"' if router['zonename'] == 'ZUERICH_IX' %> <%= ', "datacenter-bie"' if router['zonename'] == 'BIEL_CU01' %> ] } <% end -%> <% end -%>
Version data entries
4 entries across 4 versions & 1 rubygems