projects
/
arvados-formula.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test(hosts): use the nic ip instead of localhost for dns
[arvados-formula.git]
/
test
/
salt
/
states
/
examples
/
single_host
/
host_entries.sls
diff --git
a/test/salt/states/examples/single_host/host_entries.sls
b/test/salt/states/examples/single_host/host_entries.sls
index 855757e62857e37af31d8138c8717dec7b7402b5..8dfb64e9d9636c5f6b42f53ed29fab3f15cd30b8 100644
(file)
--- a/
test/salt/states/examples/single_host/host_entries.sls
+++ b/
test/salt/states/examples/single_host/host_entries.sls
@@
-5,7
+5,7
@@
arvados_test_salt_states_examples_single_host_etc_hosts_host_present:
host.present:
arvados_test_salt_states_examples_single_host_etc_hosts_host_present:
host.present:
- - ip: {{ grains
.get('ipv4')[0
] }}
+ - ip: {{ grains
['ipv4'][1
] }}
- names:
- {{ arvados.cluster.name }}.{{ arvados.cluster.domain }}
# FIXME! This just works for our testings.
- names:
- {{ arvados.cluster.name }}.{{ arvados.cluster.domain }}
# FIXME! This just works for our testings.
@@
-16,6
+16,7
@@
arvados_test_salt_states_examples_single_host_etc_hosts_host_present:
'controller',
'download',
'keep',
'controller',
'download',
'keep',
+ 'keepweb',
'keep0',
'shell',
'workbench',
'keep0',
'shell',
'workbench',
@@
-23,6
+24,10
@@
arvados_test_salt_states_examples_single_host_etc_hosts_host_present:
'ws',
]
%}
'ws',
]
%}
+ - {{ entry }}
- {{ entry }}.internal
- {{ entry }}.{{ arvados.cluster.name }}.{{ arvados.cluster.domain }}
{%- endfor %}
- {{ entry }}.internal
- {{ entry }}.{{ arvados.cluster.name }}.{{ arvados.cluster.domain }}
{%- endfor %}
+ - require_in:
+ - file: nginx_config
+ - service: nginx_service