Sfoglia il codice sorgente

Delete macro

tags/v0.1
root 10 anni fa
parent
commit
61cc38e7bd
1 ha cambiato i file con 0 aggiunte e 7 eliminazioni
  1. +0
    -7
      network/routes.sls

+ 0
- 7
network/routes.sls Vedi File

@@ -3,13 +3,6 @@
{% from "network/defaults.yaml" import rawmap with context %}
{% 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 %}
{{ r.name }}:
network.routes:

Loading…
Annulla
Salva