style(sls): fix `salt-lint` errors
[arvados-formula.git] / test / salt / states / examples / single_host / host_entries.sls
index 177ad184867e20c43ccac9cbc9acd73dae3552aa..7670da0f3f886318199fe6596f2c56c371e5a8fd 100644 (file)
@@ -3,12 +3,9 @@
 {%- from "arvados/map.jinja" import arvados with context %}
 {%- set tpldir = curr_tpldir %}
 
-include:
-  - nginx.config
-
 arvados_test_salt_states_examples_single_host_etc_hosts_host_present:
   host.present:
-    - ip: {{ grains.get('ipv4')[0] }}
+    - ip: {{ grains['ipv4'][0] }}
     - names:
       - {{ arvados.cluster.name }}.{{ arvados.cluster.domain }}
       # FIXME! This just works for our testings.
@@ -19,6 +16,7 @@ arvados_test_salt_states_examples_single_host_etc_hosts_host_present:
           'controller',
           'download',
           'keep',
+          'keepweb',
           'keep0',
           'shell',
           'workbench',
@@ -26,8 +24,10 @@ arvados_test_salt_states_examples_single_host_etc_hosts_host_present:
           'ws',
         ]
       %}
+      - {{ entry }}
       - {{ entry }}.internal
       - {{ entry }}.{{ arvados.cluster.name }}.{{ arvados.cluster.domain }}
       {%- endfor %}
     - require_in:
       - file: nginx_config
+      - service: nginx_service