blob: 18154cd8c765cb0abf4ea40bdd76144d8fc4a8e2 [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
7 secmonkey_db_user_password: secmonkey
8 postgresql:
9 client:
10 server:
11 server01:
12 database:
13 pushkin:
14 init:
15 maintenance_db: pushkin
16 force: true
17 queries:
18 - INSERT INTO login VALUES (${_param:secmonkey_login_id}, ${_param:secmonkey_application_id}) ON CONFLICT (id) DO UPDATE SET id = excluded.id;
19 - 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;