feat(distro): add centos-7 support
[arvados-formula.git] / arvados / files / default / config.tmpl.jinja
index fe33a2a0e2cd6b89765d181b8f591c798a588f93..fc01a13b7eaeedffd92872ce53cb05cdc005553d 100644 (file)
@@ -33,12 +33,6 @@ Clusters:
       {{ arvados.cluster.Collections | yaml(False) | indent(6) }}
     {%- endif %}
 
-    Login:
-      {{ arvados.cluster.Login | yaml(False) | indent(6) }}
-
-    Users:
-      {{ arvados.cluster.Users | yaml(False) | indent(6) }}
-
     TLS:
       Certificate: {{ arvados.cluster.tls.certificate | yaml_encode }}
       Key: {{ arvados.cluster.tls.key | yaml_encode }}
@@ -56,9 +50,11 @@ Clusters:
         'Containers',
         'Git',
         'InstanceTypes',
+        'Login',
         'Mail',
         'RemoteClusters',
         'SystemLogs',
+        'Users',
         'Volumes'
       ]
     %}
@@ -70,7 +66,6 @@ Clusters:
 
     ### DATABASE CONFIGURATION
     PostgreSQL:
-      # FIXME!!!!!! ALL as database or using Arvados' PostgreSQL ??
       ConnectionPool: {{ arvados.cluster.database.connection_pool_max }}
       Connection:
         # All parameters here are passed to the PG client library in a connection string;
@@ -80,9 +75,9 @@ Clusters:
         password: {{ arvados.cluster.database.password | yaml_encode }}
         user: {{ arvados.cluster.database.user }}
         client_encoding: {{ arvados.cluster.database.client_encoding }}
-    {%- if 'PostgreSQL' in arvados.cluster %}
-      {{ arvados.cluster.PostgreSQL | yaml(False) | indent(6) }}
-    {%- endif %}
+        {%- if arvados.cluster.database.extra_conn_params is defined %}
+        {{ arvados.cluster.database.extra_conn_params | yaml(False) | indent(8) }}
+        {%- endif %}
 
     ### SERVICES URLs
     Services: