docs(single_host): fix hostnames and tests
[arvados-formula.git] / test / salt / states / example_single_host_host_entries / init.sls
index a043333d106e5e5775089f5249a853732935704a..64254480a9efeee21efff42dc500d095d9ab335c 100644 (file)
@@ -1,7 +1,7 @@
-{% set curr_tpldir = tpldir %}
-{% set tpldir = 'arvados' %}
-{% from "arvados/map.jinja" import arvados with context %}
-{% set tpldir = curr_tpldir %}
+{%- set curr_tpldir = tpldir %}
+{%- set tpldir = 'arvados' %}
+{%- from "arvados/map.jinja" import arvados with context %}
+{%- set tpldir = curr_tpldir %}
 
 arvados_hosts_entries:
   host.present:
@@ -11,15 +11,18 @@ arvados_hosts_entries:
       # FIXME! This just works for our testings.
       # Won't work if the cluster name != host name
       {%- for entry in [
-          'keep',
-          'keep0',
+          'api',
           'collections',
+          'controller',
           'download',
-          'ws',
+          'keep',
+          'keep0',
+          'shell',
           'workbench',
-          'workbench2'
+          'workbench2',
+          'ws',
         ]
       %}
-      - {{ entry }}
+      - {{ entry }}.internal
       - {{ entry }}.{{ arvados.cluster.name }}.{{ arvados.cluster.domain }}
       {%- endfor %}