1 # -*- coding: utf-8 -*-
4 # Copyright (C) The Arvados Authors. All rights reserved.
6 # SPDX-License-Identifier: Apache-2.0
8 # The variables commented out are the default values that the formula uses.
9 # The uncommented values are REQUIRED values. If you don't set them, running
10 # this formula will fail.
15 ### It makes little sense to disable this flag, but you can, if you want :)
16 # use_upstream_repo: true
18 ### Repo URL is built with grains values. If desired, it can be completely
19 ### overwritten with the pillar parameter 'repo_url'
21 # humanname: Arvados Official Repository
24 # api, workbench and shell require some gems, so you need to make sure ruby
25 # and deps are installed in order to install and compile the gems.
26 # We default to `false` in these two variables as it's expected you already
27 # manage OS packages with some other tool and you don't want us messing up
30 # We set these to `true` here for testing purposes.
31 # They both default to `false`.
33 # pkg: ruby # Can specify a backport name like ruby3.2
34 manage_gems_deps: true
41 # - libcurl4-gnutls-dev
51 # file: /etc/arvados/config.yml
54 ### If you're installing any of the rails apps (api, workbench), the group
55 ### should be set to that of the web server, usually `www-data`
59 ### This is the command run to verify the configuration is correct before
60 ### deploying it. By default it uses `-strict=true`, so it will error on
61 ### warnings (ie, unknown/deprecated parameters)
63 # check_command: /usr/bin/arvados-server config-check -config
65 ### To fail only on errors, you can use
67 # check_command: /usr/bin/arvados-server config-check -strict=false -config
69 ### and to disable configuration checking (not recommended), just set it to
70 ### any command that returns true
72 # check_command: /bin/true
74 ### ARVADOS CLUSTER CONFIG
80 # max concurrent connections per arvados server daemon
81 # connection_pool_max: 32
84 password: changeme_arvados
86 # You can pass extra database connections parameters here,
87 # which will be rendered as yaml.
91 # client_encoding: UTF8
96 # required to test with snakeoil certs
101 # Secrets and tokens have to be +32 alphanumeric,
102 # it does not accept underscores or special characters.
103 # See https://dev.arvados.org/issues/17150
104 system_root: systemroottokenmushaveatleast32characters
105 management: managementtokenmushaveatleast32characters
106 # The AnonymousUserToken can be set here or in the
107 # Users dictionary below. The latter will be used if set.
108 anonymous_user: anonymoususertokenmushaveatleast32characters
112 blob_signing_key: blobsigningkeymushaveatleast32characters
113 workbench_secret_key: workbenchsecretkeymushaveatleast32characters
114 dispatcher_access_key: changemedispatcheraccesskey
115 dispatcher_secret_key: changemedispatchersecretkey
116 keep_access_key: changemekeepaccesskey
117 keep_secret_key: changemekeepsecretkey
119 ### ARVADOS RESOURCES
120 # This dict allows you to create various resources in the Arvados
121 # database so they're ready to use.
122 # Check the `arvados.api.resources.* states to see which can be
125 ### SHELL / WEBSHELL REGISTRATION
126 # In order to use shell nodes via webshell, Arvados needs to know of
127 # their existence and they need to be configured as upstreams in nginx
128 # (see https://doc.arvados.org/v2.0/install/install-webshell.html)
129 # This could be achieved in various ways (ie, through salt mine if you
130 # want them to be dinamically created), but that's outside the scope of
131 # this formula. The following dict is just an example that will be used
132 # by the `arvados.api.resources.virtual_machines` state to add entries
133 # in Arvados' database of the cluster's resources'
134 # It's additionally used in the
135 # `test/salt/pillar/examples/nginx_webshell_configuration.sls`
136 # pillar to add the corresponding `location` entries in nginx's webshell
141 name: webshell1 # if not set, will match the one of the dict key above
142 backend: 1.2.3.4 # upstream host ip/name that has the shell role
143 port: 4200 # port where shellinabox is listening
144 # when no other parameter is set:
145 # `name` will match the name of the key
146 # backend` will match `name`
147 # `port` will default to shellinabox's 4200
151 ## This should usually match all your `keepstore` instances
153 # the volume name will be composed with
154 # <cluster>-nyw5e-<volume>
155 fixme-nyw5e-000000000000000:
157 http://keep0.fixme.example.net:25107:
165 NewUsersAreActive: true
166 AutoAdminFirstUser: true
167 AutoSetupNewUsers: true
168 AutoSetupNewUsersWithRepository: true
172 ExternalURL: https://fixme.example.net
174 http://localhost:8003: {}
177 http://fixme.example.net:9006: {}
180 http://fixme.example.net:9005: {}
182 ExternalURL: https://keep.fixme.example.net
184 http://localhost:25100: {}
187 http://keep0.fixme.example.net:25107: {}
190 http://localhost:8004: {}
192 ExternalURL: https://collections.fixme.example.net
194 http://localhost:9002: {}
196 ExternalURL: https://download.fixme.example.net
198 ExternalURL: https://webshell.fixme.example.net
200 ExternalURL: wss://ws.fixme.example.net/websocket
202 http://localhost:8005: {}
204 ExternalURL: https://workbench.fixme.example.net
206 ExternalURL: https://workbench2.fixme.example.net
208 # ### THESE ARE THE PACKAGES AND DAEMONS BASIC CONFIGS
213 # - arvados-api-server
214 # - arvados-dispatch-cloud
225 # name: arvados-controller
230 # name: arvados-controller
236 # - crunch-dispatch-local
237 # # - arvados-dispatch-cloud
238 # # - crunch-dispatch-slurm
240 # name: crunch-dispatch-local
270 # - python3-arvados-fuse
271 # - python3-arvados-python-client
272 # - python3-arvados-cwl-runner
276 # - arvados-login-sync
278 # config: /etc/default/shellinabox
285 # name: arvados-workbench
291 # name: arvados-workbench2
302 # ## SALTSTACK FORMULAS TOFS configuration
303 # https://template-formula.readthedocs.io/en/latest/TOFS_pattern.html
305 # # The files_switch key serves as a selector for alternative
306 # # directories under the formula files directory. See TOFS pattern
307 # # doc for more info.
308 # # Note: Any value not evaluated by `config.get` will be used literally.
309 # # This can be used to set custom paths, as many levels deep as required.
311 # - any/path/can/be/used/here
317 # # All aspects of path/file resolution are customisable using the options below.
318 # # This is unnecessary in most cases; there are sensible defaults.
319 # # Default path: salt://< path_prefix >/< dirs.files >/< dirs.default >
320 # # I.e.: salt://arvados/files/default
321 # # path_prefix: template_alt
324 # # default: default_alt
325 # # The entries under `source_files` are prepended to the default source files
326 # # given for the state
328 # # arvados-config-file-file-managed:
329 # # - 'example_alt.tmpl'
330 # # - 'example_alt.tmpl.jinja'