Browse Source

renaming pillars

tags/v0.1
Arnold Bechtoldt 10 years ago
parent
commit
e3843cb999
2 changed files with 6 additions and 6 deletions
  1. +3
    -3
      network/defaults.yaml
  2. +3
    -3
      network/interfaces.sls

+ 3
- 3
network/defaults.yaml View File

{% load_yaml as rawmap %} {% load_yaml as rawmap %}
Debian: Debian:
interfaces: interfaces:
values:
enabled: True
default_values:
enable: True
proto: dhcp proto: dhcp
type: eth type: eth
params_supported: params_supported:
RedHat: RedHat:
interfaces: interfaces:
values: values:
enabled: True
enable: True
proto: dhcp proto: dhcp
type: eth type: eth
params_supported: params_supported:

+ 3
- 3
network/interfaces.sls View File

network: network:
- managed - managed
- name: {{ n.name }} - name: {{ n.name }}
- enabled: {{ n.enabled|default(datamap.interfaces.values.enabled) }}
- proto: {{ n.proto|default(datamap.interfaces.values.proto) }}
- type: {{ n.type|default(datamap.interfaces.values.type) }}
- enabled: {{ n.enable|default(datamap.interfaces.default_values.enable) }}
- proto: {{ n.proto|default(datamap.interfaces.default_values.proto) }}
- type: {{ n.type|default(datamap.interfaces.default_values.type) }}
{% for p in datamap.interfaces.params_supported %} {% for p in datamap.interfaces.params_supported %}
{{ set_p(p, n) }} {{ set_p(p, n) }}
{% endfor %} {% endfor %}

Loading…
Cancel
Save