+database_stanza = <<-DATABASE_STANZA
+ ### DATABASE CONFIGURATION
+ PostgreSQL:
+ ConnectionPool: 32
+ Connection:
+ # All parameters here are passed to the PG client library in a connection string;
+ # see https://www.postgresql.org/docs/current/static/libpq-connect.html#LIBPQ-PARAMKEYWORDS
+ dbname: arvados
+ host: 127.0.0.1
+ password: "changeme_arvados"
+ user: arvados
+ client_encoding: UTF8
+DATABASE_STANZA
+
+group = case os[:name]
+ when 'centos'
+ 'nginx'
+ when 'debian', 'ubuntu'
+ 'www-data'
+ end
+