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 use_rvm: false # If you want to use rvm. Defaults to true for centos-7
34 # pkg: ruby # Can specify a version like ruby-2.5.7 for rvm
35 manage_gems_deps: true
42 # - libcurl4-gnutls-dev
52 # file: /etc/arvados/config.yml
55 ### If you're installing any of the rails apps (api, workbench), the group
56 ### should be set to that of the web server, usually `www-data`
60 ### This is the command run to verify the configuration is correct before
61 ### deploying it. By default it uses `-strict=true`, so it will error on
62 ### warnings (ie, unknown/deprecated parameters)
64 # check_command: /usr/bin/arvados-server config-check -config
66 ### To fail only on errors, you can use
68 # check_command: /usr/bin/arvados-server config-check -strict=false -config
70 ### and to disable configuration checking (not recommended), just set it to
71 ### any command that returns true
73 # check_command: /bin/true
75 ### ARVADOS CLUSTER CONFIG
81 # max concurrent connections per arvados server daemon
82 # connection_pool_max: 32
85 password: changeme_arvados
87 # You can pass extra database connections parameters here,
88 # which will be rendered as yaml.
92 # client_encoding: UTF8
97 # required to test with snakeoil certs
102 # Secrets and tokens have to be +32 alphanumeric,
103 # it does not accept underscores or special characters.
104 # See https://dev.arvados.org/issues/17150
105 system_root: systemroottokenmushaveatleast32characters
106 management: managementtokenmushaveatleast32characters
107 # The AnonymousUserToken can be set here or in the
108 # Users dictionary below. The latter will be used if set.
109 anonymous_user: anonymoususertokenmushaveatleast32characters
113 blob_signing_key: blobsigningkeymushaveatleast32characters
114 workbench_secret_key: workbenchsecretkeymushaveatleast32characters
115 dispatcher_access_key: changemedispatcheraccesskey
116 dispatcher_secret_key: changemedispatchersecretkey
117 keep_access_key: changemekeepaccesskey
118 keep_secret_key: changemekeepsecretkey
120 ### ARVADOS RESOURCES
121 # This dict allows you to create various resources in the Arvados
122 # database so they're ready to use.
123 # Check the `arvados.api.resources.* states to see which can be
126 ### SHELL / WEBSHELL REGISTRATION
127 # In order to use shell nodes via webshell, Arvados needs to know of
128 # their existence and they need to be configured as upstreams in nginx
129 # (see https://doc.arvados.org/v2.0/install/install-webshell.html)
130 # This could be achieved in various ways (ie, through salt mine if you
131 # want them to be dinamically created), but that's outside the scope of
132 # this formula. The following dict is just an example that will be used
133 # by the `arvados.api.resources.virtual_machines` state to add entries
134 # in Arvados' database of the cluster's resources'
135 # It's additionally used in the `test/salt/pillar/examples/nginx_webshell_configuration.sls`
136 # pillar to add the corresponding `location` entries in nginx's webshell vhosts & upstreams
140 name: webshell1 # if not set, will match the one of the dict key above
141 backend: 1.2.3.4 # upstream host ip/name that has the shell role
142 port: 4200 # port where shellinabox is listening
143 # when no other parameter is set:
144 # `name` will match the name of the key
145 # backend` will match `name`
146 # `port` will default to shellinabox's 4200
150 ## This should usually match all your `keepstore` instances
152 # the volume name will be composed with
153 # <cluster>-nyw5e-<volume>
154 fixme-nyw5e-000000000000000:
156 http://keep0.fixme.example.net:25107:
164 NewUsersAreActive: true
165 AutoAdminFirstUser: true
166 AutoSetupNewUsers: true
167 AutoSetupNewUsersWithRepository: true
171 ExternalURL: https://fixme.example.net
173 http://localhost:8003: {}
176 http://fixme.example.net:9006: {}
179 http://fixme.example.net:9005: {}
181 ExternalURL: https://keep.fixme.example.net
183 http://localhost:25100: {}
186 http://keep0.fixme.example.net:25107: {}
189 http://localhost:8004: {}
191 ExternalURL: https://collections.fixme.example.net
193 http://localhost:9002: {}
195 ExternalURL: https://download.fixme.example.net
197 ExternalURL: https://webshell.fixme.example.net
199 ExternalURL: wss://ws.fixme.example.net/websocket
201 http://localhost:8005: {}
203 ExternalURL: https://workbench.fixme.example.net
205 ExternalURL: https://workbench2.fixme.example.net
207 # ### THESE ARE THE PACKAGES AND DAEMONS BASIC CONFIGS
212 # - arvados-api-server
213 # - arvados-dispatch-cloud
224 # name: arvados-controller
229 # name: arvados-controller
235 # - crunch-dispatch-local
236 # # - arvados-dispatch-cloud
237 # # - crunch-dispatch-slurm
239 # name: crunch-dispatch-local
269 # - python3-arvados-fuse
270 # - python3-arvados-python-client
271 # - python3-arvados-cwl-runner
275 # - arvados-login-sync
277 # config: /etc/default/shellinabox
284 # name: arvados-workbench
290 # name: arvados-workbench2
301 # ## SALTSTACK FORMULAS TOFS configuration
302 # https://template-formula.readthedocs.io/en/latest/TOFS_pattern.html
304 # # The files_switch key serves as a selector for alternative
305 # # directories under the formula files directory. See TOFS pattern
306 # # doc for more info.
307 # # Note: Any value not evaluated by `config.get` will be used literally.
308 # # This can be used to set custom paths, as many levels deep as required.
310 # - any/path/can/be/used/here
316 # # All aspects of path/file resolution are customisable using the options below.
317 # # This is unnecessary in most cases; there are sensible defaults.
318 # # Default path: salt://< path_prefix >/< dirs.files >/< dirs.default >
319 # # I.e.: salt://arvados/files/default
320 # # path_prefix: template_alt
323 # # default: default_alt
324 # # The entries under `source_files` are prepended to the default source files
325 # # given for the state
327 # # arvados-config-file-file-managed:
328 # # - 'example_alt.tmpl'
329 # # - 'example_alt.tmpl.jinja'