feat(distro): add centos-7 support
[arvados-formula.git] / test / salt / pillar / arvados.sls
index 13a9dbd58c052a0e9c802e03f3ec39f4f09093cf..e0184103d7d9267328318d7a5676ee55f06a3f40 100644 (file)
@@ -41,6 +41,14 @@ arvados:
       user: arvados
       encoding: en_US.utf8
       client_encoding: UTF8
+      # Centos7 does not enable SSL by default, so we disable
+      # it here just for testing of the formula purposes only.
+      # You should not do this in production, and should
+      # configure Postgres certificates correctly
+      {%- if grains.os_family in ('RedHat',) %}
+      extra_conn_params:
+        sslmode: disable
+      {%- endif %}
 
     tls:
       # certificate: ''