Explorar el Código

give the route states a better/ human readable name

tags/v0.1
Arnold Bechtoldt hace 10 años
padre
commit
6d637d1262
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. +2
    -1
      network/routes.sls

+ 2
- 1
network/routes.sls Ver fichero

@@ -8,8 +8,9 @@
for code convention reasons. Unfortunately 'routes' is also used in **kwargs when calling ip.build_routes
in salt.states.network #}
{% for r in datamap.routes|default([]) %}
{{ r.name }}:
routes_{{ r.name }}:
network.routes:
- name: {{ r.name }}
- routes:
{% for n in r.networks %}
- name: {{ n.name }}

Cargando…
Cancelar
Guardar