blob: 1ebf4f4e9492c98d68279c76242e14c5ff1ceedb [file] [log] [blame]
Mikhail Ivanovcd2359a2018-04-18 17:49:01 +04001classes:
2 - system.postgresql.client
3parameters:
4 _param:
5 secmonkey_db_host: ${_param:haproxy_postgresql_bind_host}
6 secmonkey_db_user: secmonkey
Mikhail Ivanovcd2359a2018-04-18 17:49:01 +04007 postgresql:
8 client:
9 server:
10 server01:
11 database:
12 pushkin:
13 init:
14 maintenance_db: pushkin
15 force: true
16 queries:
17 - INSERT INTO login VALUES (${_param:secmonkey_login_id}, ${_param:secmonkey_application_id}) ON CONFLICT (id) DO UPDATE SET id = excluded.id;
18 - INSERT INTO device VALUES (${_param:secmonkey_application_id}, ${_param:secmonkey_login_id}, 42, 'security_audit_service', NULL, 1, NULL) ON CONFLICT (id) DO UPDATE SET id = excluded.id;