Pārlūkot izejas kodu

add metric-option to network/interface (for debian only) (#229)

pull/231/head
Michael Feger pirms 3 gadiem
vecāks
revīzija
904b70d7a0
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. +3
    -0
      linux/network/interface.sls

+ 3
- 0
linux/network/interface.sls Parādīt failu

@@ -269,6 +269,9 @@ linux_interface_{{ interface_name }}:
{%- if interface.name_servers is defined %}
- dns: {{ interface.name_servers }}
{%- endif %}
{%- if interface.metric is defined and grains.os_family == 'Debian' %}
- metric: {{ interface.metric }}
{%- endif %}
{%- if interface.wireless is defined and grains.os_family == 'Debian' %}
{%- if interface.wireless.security == "wpa" %}
- wpa-ssid: {{ interface.wireless.essid }}

Notiek ielāde…
Atcelt
Saglabāt