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
136 # `test/salt/pillar/examples/nginx_webshell_configuration.sls`
137 # pillar to add the corresponding `location` entries in nginx's webshell
142 name: webshell1 # if not set, will match the one of the dict key above
143 backend: 1.2.3.4 # upstream host ip/name that has the shell role
144 port: 4200 # port where shellinabox is listening
145 # when no other parameter is set:
146 # `name` will match the name of the key
147 # backend` will match `name`
148 # `port` will default to shellinabox's 4200
152 ## This should usually match all your `keepstore` instances
154 # the volume name will be composed with
155 # <cluster>-nyw5e-<volume>
156 fixme-nyw5e-000000000000000:
158 http://keep0.fixme.example.net:25107:
166 NewUsersAreActive: true
167 AutoAdminFirstUser: true
168 AutoSetupNewUsers: true
169 AutoSetupNewUsersWithRepository: true
173 ExternalURL: https://fixme.example.net
175 http://localhost:8003: {}
178 http://fixme.example.net:9006: {}
181 http://fixme.example.net:9005: {}
183 ExternalURL: https://keep.fixme.example.net
185 http://localhost:25100: {}
188 http://keep0.fixme.example.net:25107: {}
191 http://localhost:8004: {}
193 ExternalURL: https://collections.fixme.example.net
195 http://localhost:9002: {}
197 ExternalURL: https://download.fixme.example.net
199 ExternalURL: https://webshell.fixme.example.net
201 ExternalURL: wss://ws.fixme.example.net/websocket
203 http://localhost:8005: {}
205 ExternalURL: https://workbench.fixme.example.net
207 ExternalURL: https://workbench2.fixme.example.net
209 # ### THESE ARE THE PACKAGES AND DAEMONS BASIC CONFIGS
214 # - arvados-api-server
215 # - arvados-dispatch-cloud
226 # name: arvados-controller
231 # name: arvados-controller
237 # - crunch-dispatch-local
238 # # - arvados-dispatch-cloud
239 # # - crunch-dispatch-slurm
241 # name: crunch-dispatch-local
271 # - python3-arvados-fuse
272 # - python3-arvados-python-client
273 # - python3-arvados-cwl-runner
277 # - arvados-login-sync
279 # config: /etc/default/shellinabox
286 # name: arvados-workbench
292 # name: arvados-workbench2
303 # ## SALTSTACK FORMULAS TOFS configuration
304 # https://template-formula.readthedocs.io/en/latest/TOFS_pattern.html
306 # # The files_switch key serves as a selector for alternative
307 # # directories under the formula files directory. See TOFS pattern
308 # # doc for more info.
309 # # Note: Any value not evaluated by `config.get` will be used literally.
310 # # This can be used to set custom paths, as many levels deep as required.
312 # - any/path/can/be/used/here
318 # # All aspects of path/file resolution are customisable using the options below.
319 # # This is unnecessary in most cases; there are sensible defaults.
320 # # Default path: salt://< path_prefix >/< dirs.files >/< dirs.default >
321 # # I.e.: salt://arvados/files/default
322 # # path_prefix: template_alt
325 # # default: default_alt
326 # # The entries under `source_files` are prepended to the default source files
327 # # given for the state
329 # # arvados-config-file-file-managed:
330 # # - 'example_alt.tmpl'
331 # # - 'example_alt.tmpl.jinja'