X-Git-Url: https://git.arvados.org/arvados-formula.git/blobdiff_plain/2ac8a85f91b60ebe5fb337bfcbeb09836842ed85..6c52de7:/test/salt/states/example_single_host_host_entries/init.sls diff --git a/test/salt/states/example_single_host_host_entries/init.sls b/test/salt/states/example_single_host_host_entries/init.sls index a043333..6425448 100644 --- a/test/salt/states/example_single_host_host_entries/init.sls +++ b/test/salt/states/example_single_host_host_entries/init.sls @@ -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 %}