X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/9539317a22d8ea16f94b0e086507ab595d758216..4bb21138d34eb13be5974fd68d88d7e050364070:/tools/salt-install/config_examples/single_host/multiple_hostnames/pillars/arvados.sls diff --git a/tools/salt-install/config_examples/single_host/multiple_hostnames/pillars/arvados.sls b/tools/salt-install/config_examples/single_host/multiple_hostnames/pillars/arvados.sls index 81d324fcbd..e50e5c677a 100644 --- a/tools/salt-install/config_examples/single_host/multiple_hostnames/pillars/arvados.sls +++ b/tools/salt-install/config_examples/single_host/multiple_hostnames/pillars/arvados.sls @@ -5,6 +5,11 @@ # # SPDX-License-Identifier: AGPL-3.0 +{%- set database_host = ("__DATABASE_EXTERNAL_SERVICE_HOST_OR_IP__" or "127.0.0.1") %} +{%- set database_name = "__DATABASE_NAME__" %} +{%- set database_user = "__DATABASE_USER__" %} +{%- set database_password = "__DATABASE_PASSWORD__" %} + # The variables commented out are the default values that the formula uses. # The uncommented values are REQUIRED values. If you don't set them, running # this formula will fail. @@ -28,7 +33,6 @@ arvados: ## manage OS packages with some other tool and you don't want us messing up ## with your setup. ruby: - ## We set these to `true` here for testing purposes. ## They both default to `false`. manage_ruby: true @@ -66,10 +70,10 @@ arvados: database: # max concurrent connections per arvados server daemon # connection_pool_max: 32 - name: __CLUSTER___arvados - host: 127.0.0.1 - password: "__DATABASE_PASSWORD__" - user: __CLUSTER___arvados + name: {{ database_name }} + host: {{ database_host }} + password: {{ database_password }} + user: {{ database_user }} extra_conn_params: client_encoding: UTF8 # Centos7 does not enable SSL by default, so we disable @@ -90,7 +94,7 @@ arvados: virtual_machines: shell: name: webshell - backend: 127.0.1.1 + backend: 127.0.0.1 port: 4200 ### TOKENS @@ -102,7 +106,6 @@ arvados: ### KEYS secrets: blob_signing_key: __BLOB_SIGNING_KEY__ - workbench_secret_key: __WORKBENCH_SECRET_KEY__ Login: Test: @@ -124,7 +127,7 @@ arvados: Replication: 2 Driver: Directory DriverParameters: - Root: /tmp + Root: /var/lib/arvados/keep Users: NewUsersAreActive: true @@ -142,7 +145,7 @@ arvados: 'http://__CLUSTER__.__DOMAIN__:9006': {} Keepbalance: InternalURLs: - 'http://__CLUSTER__.__DOMAIN__:9005': {} + 'http://localhost:9005': {} Keepproxy: ExternalURL: 'https://keep.__CLUSTER__.__DOMAIN__:__CONTROLLER_EXT_SSL_PORT__' InternalURLs: