projects
/
arvados-formula.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test(dependencies): add ssl certs dependencies so nginx does not fail
[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..177ad184867e20c43ccac9cbc9acd73dae3552aa 100644
(file)
--- a/
test/salt/states/examples/single_host/host_entries.sls
+++ b/
test/salt/states/examples/single_host/host_entries.sls
@@
-3,6
+3,9
@@
{%- from "arvados/map.jinja" import arvados with context %}
{%- set tpldir = curr_tpldir %}
{%- 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] }}
arvados_test_salt_states_examples_single_host_etc_hosts_host_present:
host.present:
- ip: {{ grains.get('ipv4')[0] }}
@@
-26,3
+29,5
@@
arvados_test_salt_states_examples_single_host_etc_hosts_host_present:
- {{ 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