Browse Source

Merge pull request #111 from rmeleromira/patch-1

Adds ability to set mtu in reclass
pull/112/head
Filip Pytloun 7 years ago
parent
commit
c5dd63653e
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      linux/network/interface.sls

+ 3
- 0
linux/network/interface.sls View File

@@ -122,6 +122,9 @@ linux_interface_{{ interface_name }}:
- enabled: {{ interface.enabled }}
- name: {{ interface_name }}
- type: {{ interface.type }}
{% if interface.mtu is defined %}
- mtu: {{ interface.mtu }}
{% endif %}
{%- if interface.address is defined %}
{%- if grains.os_family == 'Debian' %}
- proto: {{ interface.get('proto', 'static') }}

Loading…
Cancel
Save