1abe76c2499682c9b8501c25a748aac59bcb71fa
[arvados-formula.git] / test / salt / pillar / arvados.sls
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.4'
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
30   ### ARVADOS CLUSTER CONFIG
31   cluster:
32     name: fixme
33     domain: example.net
34
35     database:
36       # max concurrent connections per arvados server daemon
37       # connection_pool_max: 32
38       name: arvados
39       host: 127.0.0.1
40       password: changeme_arvados
41       user: arvados
42       extra_conn_params:
43         client_encoding: UTF8
44       # Centos7 does not enable SSL by default, so we disable
45       # it here just for testing of the formula purposes only.
46       # You should not do this in production, and should
47       # configure Postgres certificates correctly
48       {%- if grains.os_family in ('RedHat',) %}
49         sslmode: disable
50       {%- endif %}
51
52     tls:
53       # certificate: ''
54       # key: ''
55       # required to test with snakeoil certs
56       insecure: true
57
58     resources:
59       virtual_machines:
60         shell1:
61           name: webshell1
62           backend: 1.2.3.4
63           port: 4200
64         webshell2: {}
65
66     ### TOKENS
67     tokens:
68       system_root: systemroottokenmushaveatleast32characters
69       management: managementtokenmushaveatleast32characters
70       anonymous_user: anonymoususertokensetinthetokensdict
71
72     ### KEYS
73     secrets:
74       blob_signing_key: blobsigningkeymushaveatleast32characters
75       workbench_secret_key: workbenchsecretkeymushaveatleast32characters
76       dispatcher_access_key: changemedispatcheraccesskey
77       dispatcher_secret_key: changemedispatchersecretkey
78       keep_access_key: changemekeepaccesskey
79       keep_secret_key: changemekeepsecretkey
80
81     ### VOLUMES
82     ## This should usually match all your `keepstore` instances
83     Volumes:
84       # the volume name will be composed with
85       # <cluster>-nyw5e-<volume>
86       fixme-nyw5e-000000000000000:
87         AccessViaHosts:
88           http://keep0.fixme.example.net:25107:
89             ReadOnly: false
90         Replication: 2
91         Driver: Directory
92         DriverParameters:
93           Root: /tmp
94
95     Users:
96       NewUsersAreActive: true
97       AutoAdminFirstUser: true
98       AutoSetupNewUsers: true
99       AutoSetupNewUsersWithRepository: true
100
101     Services:
102       Controller:
103         ExternalURL: https://fixme.example.net
104         InternalURLs:
105           http://controller.internal:8003: {}
106       DispatchCloud:
107         InternalURLs:
108           http://fixme.example.net:9006: {}
109       Keepbalance:
110         InternalURLs:
111           http://fixme.example.net:9005: {}
112       Keepproxy:
113         ExternalURL: https://keep.fixme.example.net
114         InternalURLs:
115           http://keep.internal:25100: {}
116       Keepstore:
117         InternalURLs:
118           http://keep0.fixme.example.net:25107: {}
119       RailsAPI:
120         InternalURLs:
121           http://api.internal:8004: {}
122       WebDAV:
123         ExternalURL: https://collections.fixme.example.net
124         InternalURLs:
125           http://collections.internal:9002: {}
126       WebDAVDownload:
127         ExternalURL: https://download.fixme.example.net
128       WebShell:
129         ExternalURL: https://webshell.fixme.example.net
130       Websocket:
131         ExternalURL: wss://ws.fixme.example.net/websocket
132         InternalURLs:
133           http://ws.internal:8005: {}
134       Workbench1:
135         ExternalURL: https://workbench.fixme.example.net
136       Workbench2:
137         ExternalURL: https://workbench2.fixme.example.net