Merge pull request #65 from salt-formulas/pr_add_validation

Add kitchen tests + travis ci
diff --git a/linux/network/interface.sls b/linux/network/interface.sls
index c0f8154..695fe61 100644
--- a/linux/network/interface.sls
+++ b/linux/network/interface.sls
@@ -201,7 +201,7 @@
   {%- endif %}
   - nozeroconf: True
   - nisdomain: {{ system.domain }}
-  - require_reboot: False
+  - require_reboot: True
 
 {%- endif %}
 
diff --git a/linux/system/repo.sls b/linux/system/repo.sls
index 04e7070..555abd1 100644
--- a/linux/system/repo.sls
+++ b/linux/system/repo.sls
@@ -58,6 +58,8 @@
   {%- if repo.key_url is defined %}
   - key_url: {{ repo.key_url }}
   {%- endif %}
+  - require:
+    - pkg: linux_packages
 
 {%- endif %}
 
@@ -80,6 +82,8 @@
   {%- if repo.gpgkey is defined %}
   - gpgkey: {{ repo.gpgkey }}
   {%- endif %}
+  - require:
+    - pkg: linux_packages
 
 {%- endif %}
 
@@ -99,6 +103,8 @@
     - mode: 0644
     - defaults:
         default_repos: {{ default_repos }}
+    - require:
+      - pkg: linux_packages
 
 {%- endif %}