Sfoglia il codice sorgente

Merge "Make admin user for mongodb optional"

pull/73/head
Ondrej Smola 6 anni fa
parent
commit
8ad5417460
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. +4
    -0
      salt/files/minion.conf

+ 4
- 0
salt/files/minion.conf Vedi File

@@ -143,9 +143,13 @@ mysql.charset: 'utf8'
{%- if pillar.get('mongodb', {}).server is defined %}
mongodb.host: 'localhost'
mongodb.port: {{ pillar.mongodb.server.bind.port }}
{%- if pillar.mongodb.server.get('admin', {}).user is defined %}
mongodb.user: '{{ pillar.mongodb.server.admin.user }}'
{%- endif %}
{%- if pillar.mongodb.server.get('admin', {}).password is defined %}
mongodb.password: '{{ pillar.mongodb.server.admin.password }}'
{%- endif %}
{%- endif %}

{%- if pillar.get('postgresql', {}).server is defined %}
postgres.user: 'postgres'

Loading…
Annulla
Salva