21700: Install Bundler system-wide in Rails postinst
[arvados.git] / tools / salt-install / config_examples / multi_host / aws / states / host_entries.sls
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 {%- set curr_tpldir = tpldir %}
6 {%- set tpldir = 'arvados' %}
7 {%- from "arvados/map.jinja" import arvados with context %}
8 {%- set tpldir = curr_tpldir %}
9
10 #CRUDE, but functional
11
12 {%- if "__DATABASE_INT_IP__" != "" %}
13 extra_extra_hosts_entries_etc_hosts_database_host_present:
14   host.present:
15     - ip: __DATABASE_INT_IP__
16     - names:
17       - db.{{ arvados.cluster.name }}.{{ arvados.cluster.domain }}
18       - database.{{ arvados.cluster.name }}.{{ arvados.cluster.domain }}
19 {%- endif %}
20
21 extra_extra_hosts_entries_etc_hosts_api_host_present:
22   host.present:
23     - ip: __CONTROLLER_INT_IP__
24     - names:
25       - {{ arvados.cluster.name }}.{{ arvados.cluster.domain }}
26
27 extra_extra_hosts_entries_etc_hosts_websocket_host_present:
28   host.present:
29     - ip: __CONTROLLER_INT_IP__
30     - names:
31       - ws.{{ arvados.cluster.name }}.{{ arvados.cluster.domain }}
32
33 extra_extra_hosts_entries_etc_hosts_workbench_host_present:
34   host.present:
35     - ip: __WORKBENCH1_INT_IP__
36     - names:
37       - workbench.{{ arvados.cluster.name }}.{{ arvados.cluster.domain }}
38
39 extra_extra_hosts_entries_etc_hosts_workbench2_host_present:
40   host.present:
41     - ip: __WORKBENCH1_INT_IP__
42     - names:
43       - workbench2.{{ arvados.cluster.name }}.{{ arvados.cluster.domain }}
44
45 extra_extra_hosts_entries_etc_hosts_keepproxy_host_present:
46   host.present:
47     - ip: __KEEP_INT_IP__
48     - names:
49       - keep.{{ arvados.cluster.name }}.{{ arvados.cluster.domain }}
50
51 extra_extra_hosts_entries_etc_hosts_keepweb_host_present:
52   host.present:
53     - ip: __KEEP_INT_IP__
54     - names:
55       - download.{{ arvados.cluster.name }}.{{ arvados.cluster.domain }}
56       - collections.{{ arvados.cluster.name }}.{{ arvados.cluster.domain }}
57
58 extra_extra_hosts_entries_etc_hosts_webshell_host_present:
59   host.present:
60     - ip: __WEBSHELL_INT_IP__
61     - names:
62       - webshell.{{ arvados.cluster.name }}.{{ arvados.cluster.domain }}
63
64 extra_extra_hosts_entries_etc_hosts_shell_host_present:
65   host.present:
66     - ip: __SHELL_INT_IP__
67     - names:
68       - shell.{{ arvados.cluster.name }}.{{ arvados.cluster.domain }}
69
70 extra_extra_hosts_entries_etc_hosts_keep0_host_present:
71   host.present:
72     - ip: __KEEPSTORE0_INT_IP__
73     - names:
74       - keep0.{{ arvados.cluster.name }}.{{ arvados.cluster.domain }}