Add require ifenslave before start configuring bonding interfaces.

The main problem was that bond0 interface on gtw01 node is down.
Its happend because in linux salt formula we are starting package
configuring before installed it.
And we have the following behaviour in this scenario:
1. Formula creates files with network interfaces settings
and systemd trie to up it.
2. For bonding interface we need a package ifenslave-2.6
3. While we haven't ifenslave-2.6 package on system bond0 building
failed on cmp and gtw nodes, after first failed attempt systemd
executes ifdown and after second attempt ifdown was
successful (on compute nodes, but not on gtw).

Closes: PROD-23109

Change-Id: Ic5f4de785a617ec5024dd8d6e479f4b3e61dfec4
diff --git a/linux/network/interface.sls b/linux/network/interface.sls
index 6086957..65e7bb8 100644
--- a/linux/network/interface.sls
+++ b/linux/network/interface.sls
@@ -1,6 +1,9 @@
 {%- from "linux/map.jinja" import network with context %}
 {%- from "linux/map.jinja" import system with context %}
 {%- if network.enabled %}
+linux_network_packages:
+  pkg.installed:
+  - pkgs: {{ network.pkgs }}
 
 {%- set dpdk_enabled = network.get('dpdk', {}).get('enabled', False) %}
 {%- if dpdk_enabled %}
@@ -305,6 +308,8 @@
     {%- endfor %}
   {%- endif %}
   {%- if interface.type == 'bond' %}
+  - require:
+    - pkg: linux_network_packages
   - slaves: {{ interface.slaves }}
   - mode: {{ interface.mode }}
   {%- endif %}
@@ -318,6 +323,7 @@
   cmd.run:
   - name: ifenslave {{ interface_name }} {{ interface.slaves }}
   - require:
+    - pkg: linux_network_packages
     - network: linux_interface_{{ interface_name }}
   - onchanges:
     - network: linux_interface_{{ interface_name }}
@@ -367,10 +373,6 @@
 
 {%- if grains.os_family == 'Arch' %}
 
-linux_network_packages:
-  pkg.installed:
-  - pkgs: {{ network.pkgs }}
-
 /etc/netctl/network_{{ interface.wireless.essid }}:
   file.managed:
   - source: salt://linux/files/wireless