fix(provision): run hosts/snakeoil states before nginx so it does not fail on missing...
[arvados.git] / tools / salt-install / config_examples / single_host / single_hostname / states / host_entries.sls
index eac85452358a6694aa1d9995ea47faaef66f11ed..53a9148cc0a7a832cd87d618d7576270554e30d4 100644 (file)
@@ -9,7 +9,7 @@
 
 arvados_test_salt_states_examples_single_host_etc_hosts_host_present:
   host.present:
-    - ip: 127.0.0.2
+    - ip: 127.0.1.1
     - names:
       - {{ arvados.cluster.name }}.{{ arvados.cluster.domain }}
       # FIXME! This just works for our testings.
@@ -31,3 +31,6 @@ arvados_test_salt_states_examples_single_host_etc_hosts_host_present:
       - {{ entry }}
       - {{ entry }}.{{ arvados.cluster.name }}.{{ arvados.cluster.domain }}
       {%- endfor %}
+    - require_in:
+      - file: nginx_config
+      - service: nginx_service