Merge pull request #63 from mceloud/master
add master option for bond slaves
diff --git a/linux/network/interface.sls b/linux/network/interface.sls
index f42cc53..c0f8154 100644
--- a/linux/network/interface.sls
+++ b/linux/network/interface.sls
@@ -133,6 +133,9 @@
{%- else %}
- proto: {{ interface.get('proto', 'dhcp') }}
{%- endif %}
+ {%- if interface.type == 'slave' %}
+ - master: {{ interface.master }}
+ {%- endif %}
{%- if interface.name_servers is defined %}
- dns: {{ interface.name_servers }}
{%- endif %}