Volodymyr Stoiko | 085cc1e | 2017-04-23 14:01:26 +0300 | [diff] [blame] | 1 | parameters: |
| 2 | _param: |
| 3 | secmonkey_db_host: ${_param:haproxy_postgresql_bind_host} |
| 4 | secmonkey_db_port: ${_param:haproxy_postgresql_bind_port} |
| 5 | secmonkey_db_user: secmonkey |
| 6 | secmonkey_db_user_password: secmonkey |
| 7 | postgresql: |
| 8 | client: |
| 9 | server: |
| 10 | server01: |
| 11 | admin: |
| 12 | host: ${_param:secmonkey_db_host} |
| 13 | port: ${_param:secmonkey_db_port} |
| 14 | user: ${_param:postgresql_admin_user} |
| 15 | password: ${_param:postgresql_admin_user_password} |
| 16 | database: |
| 17 | secmonkey: |
| 18 | enabled: true |
| 19 | encoding: 'UTF8' |
| 20 | locale: 'en_US' |
| 21 | users: |
| 22 | - name: ${_param:secmonkey_db_user} |
| 23 | password: ${_param:secmonkey_db_user_password} |
| 24 | host: ${_param:secmonkey_db_host} |
| 25 | createdb: true |
| 26 | rights: all privileges |
Volodymyr Stoiko | 0fc5dde | 2017-05-12 10:23:22 +0300 | [diff] [blame^] | 27 | init: |
| 28 | maintenance_db: pushkin |
| 29 | force: true |
| 30 | queries: |
| 31 | - INSERT INTO login VALUES (11, 1) ON CONFLICT (id) DO UPDATE SET id = excluded.id; |
| 32 | - INSERT INTO device VALUES (1, 11, 42, 'security_audit_service', NULL, 1, NULL) ON CONFLICT (id) DO UPDATE SET id = excluded.id; |