|
|
|
|
|
|
|
|
mongodb.password: '{{ pillar.mongodb.server.admin.password }}' |
|
|
mongodb.password: '{{ pillar.mongodb.server.admin.password }}' |
|
|
{%- endif %} |
|
|
{%- endif %} |
|
|
|
|
|
|
|
|
{%- if pillar.get('galera', {}).slave is defined %} |
|
|
|
|
|
mysql.unix_socket: /var/run/mysqld/mysqld.sock |
|
|
|
|
|
mysql.user: '{{ pillar.galera.slave.admin.user }}' |
|
|
|
|
|
mysql.pass: '{{ pillar.galera.slave.admin.password }}' |
|
|
|
|
|
mysql.db: 'mysql' |
|
|
|
|
|
mysql.charset: 'utf8' |
|
|
|
|
|
{%- endif %} |
|
|
|
|
|
|
|
|
|
|
|
{%- if pillar.get('postgresql', {}).server is defined %} |
|
|
{%- if pillar.get('postgresql', {}).server is defined %} |
|
|
postgres.user: 'postgres' |
|
|
postgres.user: 'postgres' |
|
|
postgres.pass: '' |
|
|
postgres.pass: '' |