浏览代码

give the route states a better/ human readable name

tags/v0.1
Arnold Bechtoldt 10 年前
父节点
当前提交
6d637d1262
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      network/routes.sls

+ 2
- 1
network/routes.sls 查看文件

@@ -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 }}

正在加载...
取消
保存