Browse Source

Delete macro

tags/v0.1
root 10 years ago
parent
commit
61cc38e7bd
1 changed files with 0 additions and 7 deletions
  1. +0
    -7
      network/routes.sls

+ 0
- 7
network/routes.sls View File

{% from "network/defaults.yaml" import rawmap with context %} {% from "network/defaults.yaml" import rawmap with context %}
{% set datamap = salt['grains.filter_by'](rawmap, merge=salt['pillar.get']('network')) %} {% set datamap = salt['grains.filter_by'](rawmap, merge=salt['pillar.get']('network')) %}


{%- macro set_p(paramname, dictvar) -%}
{%- if paramname in dictvar -%}
{{ paramname }}: {{ dictvar[paramname] }}
{%- endif -%}
{%- endmacro -%}


{% for r in datamap.routes %} {% for r in datamap.routes %}
{{ r.name }}: {{ r.name }}:
network.routes: network.routes:

Loading…
Cancel
Save