feat(components): add submodules and tests
[arvados-formula.git] / pillar.example
1 # -*- coding: utf-8 -*-
2 # vim: ft=yaml
3 ---
4 # The variables commented out are the default values that the formula uses.
5 # The uncommented values are REQUIRED values. If you don't set them, running
6 # this formula will fail.
7 arvados:
8   ### GENERAL CONFIG
9   # version: '2.0.2'
10   ## It makes little sense to disable this flag, but you can, if you want :)
11   # use_upstream_repo: true
12
13   ## Repo URL is built with grains values. If desired, it can be completely
14   ## overwritten with the pillar parameter 'repo_url'
15   # repo:
16   #   humanname: Arvados Official Repository
17
18   ## IMPORTANT!!!!!
19   ## api, workbench and shell require some gems, so you need to make sure ruby
20   ## and deps are installed in order to install and compile the gems.
21   ## We default to `false` in these two variables as it's expected you already
22   ## manage OS packages with some other tool and you don't want us messing up
23   ## with your setup.
24   ruby:
25     ## We set these to `true` here for testing purposes.
26     ## They both default to `false`.
27     manage_ruby: true
28     manage_gems_deps: true
29     # pkg: ruby
30     # gems_deps:
31     #     - curl
32     #     - g++
33     #     - gcc
34     #     - git
35     #     - libcurl4
36     #     - libcurl4-gnutls-dev
37     #     - libpq-dev
38     #     - libxml2
39     #     - libxml2-dev
40     #     - make
41     #     - python-dev
42     #     - ruby-dev
43     #     - zlib1g-dev
44
45   # config:
46   #   file: /etc/arvados/config.yml
47   #   user: root
48   ## IMPORTANT!!!!!
49   ## If you're intalling any of the rails apps (api, workbench), the group
50   ## should be set to that of the web server, usually `www-data`
51   #   group: root
52   #   mode: 640
53
54   ### ARVADOS CLUSTER CONFIG
55   cluster:
56     name: fixme
57     domain: example.net
58
59     database:
60       # max concurrent connections per arvados server daemon
61       # connection_pool_max: 32
62       name: arvados
63       host: 127.0.0.1
64       password: changeme_arvados
65       user: arvados
66       encoding: en_US.utf8
67       client_encoding: UTF8
68
69     tls:
70       # certificate: ''
71       # key: ''
72       # required to test with snakeoil certs
73       insecure: true
74
75     ### TOKENS
76     tokens:
77       system_root: changeme_system_root_token
78       management: changeme_management_token
79       rails_secret: changeme_rails_secret_token
80       anonymous_user: changeme_anonymous_user_token
81       provider_secret: changeme_provider_secret_token
82
83     ### KEYS
84     secrets:
85       blob_signing_key: changeme_blob_signing_key
86       workbench_secret_key: changeme_workbench_secret_key
87       dispatcher_access_key: changeme_dispatcher_access_key
88       dispatcher_secret_key: changeme_dispatcher_secret_key
89       keep_access_key: changeme_keep_access_key
90       keep_secret_key: changeme_keep_secret_key
91
92     ### VOLUMES
93     ## This should usually match all your `keepstore` instances
94     volumes:
95       volume_one:
96         # the volume name will be composed with
97         # <cluster>-nyw5e-<volume>
98         cluster: fixme
99         volume_id: '000000000000000'
100         access_via_hosts:
101           "http://keep0.example.net:25107/": {}
102         replication: 2
103         driver: Directory
104         driver_parameters:
105           Root: /tmp
106
107 #  ## SERVICES
108 #  #### API
109 #   api:
110 #     pkg:
111 #       name:
112 #         - arvados-api-server
113 #         - arvados-dispatch-cloud
114 #     gem:
115 #       name:
116 #         - arvados-cli
117 #     service:
118 #       name:
119 #         - nginx
120 #       port: 8004
121 #  #### CONTROLLER
122 #   controller:
123 #     pkg:
124 #       name: arvados-controller
125 #     service:
126 #       name: arvados-controller
127 #       port: 8003
128 #  #### DISPATCHER
129 #   dispatcher:
130 #     pkg:
131 #       name:
132 #         - crunch-dispatch-local
133 #       #   - arvados-dispatch-cloud
134 #       #   - crunch-dispatch-slurm
135 #     service:
136 #       name: crunch-dispatch-local
137 #       port: 9006
138 #  #### KEEPPROXY
139 #   keepproxy:
140 #     pkg:
141 #       name: keepproxy
142 #     service:
143 #       name: keepproxy
144 #       port: 25107
145 #  #### KEEPWEB
146 #   keepweb:
147 #     pkg:
148 #       name: keep-web
149 #     service:
150 #       name: keep-web
151 #     #   webdav
152 #       port: 9002
153 #  #### KEEPSTORE
154 #   keepstore:
155 #     pkg:
156 #       name: keepstore
157 #     service:
158 #       name: keepstore
159 #       port: 25107
160 #  #### GIT-HTTPD
161 #   githttpd:
162 #     pkg:
163 #       name: arvados-git-httpd
164 #     service:
165 #       name: arvados-git-httpd
166 #       port: 9001
167 #  #### SHELL
168 #   shell:
169 #     pkg:
170 #       name:
171 #         - arvados-client
172 #         - arvados-src
173 #         - libpam-arvados
174 #         - python-arvados-fuse
175 #         - python-arvados-python-client
176 #         - python3-arvados-cwl-runner
177 #     gem:
178 #       name:
179 #         - arvados-cli
180 #         - arvados-login-sync
181 #  #### WORKBENCH
182 #   workbench:
183 #     pkg:
184 #       name: arvados-workbench
185 #     service:
186 #       name: nginx
187 #  #### WORKBENCH2
188 #   workbench2:
189 #     pkg:
190 #       name: arvados-workbench2
191 #     service:
192 #       name: nginx
193 #  ####  WEBSOCKET
194 #   websocket:
195 #     pkg:
196 #       name: arvados-ws
197 #     service:
198 #       name: arvados-ws
199 #       port: 8005
200 #  #### SSO
201 #   sso:
202 #     pkg:
203 #       name: arvados-sso
204 #     service:
205 #       name: arvados-sso
206 #       port: 8900
207
208 #  ## SALTSTACK FORMULAS TOFS configuration
209 #   https://template-formula.readthedocs.io/en/latest/TOFS_pattern.html
210 #   tofs:
211 #   #    The files_switch key serves as a selector for alternative
212 #   #    directories under the formula files directory. See TOFS pattern
213 #   #    doc for more info.
214 #   #    Note: Any value not evaluated by `config.get` will be used literally.
215 #   #    This can be used to set custom paths, as many levels deep as required.
216 #     files_switch:
217 #       - any/path/can/be/used/here
218 #       - id
219 #       - roles
220 #       - osfinger
221 #       - os
222 #       - os_family
223 #   #    All aspects of path/file resolution are customisable using the options below.
224 #   #    This is unnecessary in most cases; there are sensible defaults.
225 #   #    Default path: salt://< path_prefix >/< dirs.files >/< dirs.default >
226 #   #            I.e.: salt://arvados/files/default
227 #   #    path_prefix: template_alt
228 #   #    dirs:
229 #   #      files: files_alt
230 #   #      default: default_alt
231 #   #    The entries under `source_files` are prepended to the default source files
232 #   #    given for the state
233 #   #    source_files:
234 #   #      arvados-config-file-file-managed:
235 #   #        - 'example_alt.tmpl'
236 #   #        - 'example_alt.tmpl.jinja'