From 82d933c6e80a7cb28f71fec4e273a16414b6d478 Mon Sep 17 00:00:00 2001 From: Michael Polenchuk Date: Tue, 22 May 2018 17:58:32 +0400 Subject: Define mongodb admin credentials They aren't used by mongodb formula anymore but still required by salt minion state. Change-Id: I3168e7934df38c34c5d6889f4332dc1be0415bd7 Signed-off-by: Michael Polenchuk --- mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_telemetry.yml | 3 +++ mcp/reclass/classes/cluster/mcp-pike-common-noha/openstack_control.yml | 3 +++ 2 files changed, 6 insertions(+) (limited to 'mcp/reclass') diff --git a/mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_telemetry.yml b/mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_telemetry.yml index a42189a80..88f79adc8 100644 --- a/mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_telemetry.yml +++ b/mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_telemetry.yml @@ -29,5 +29,8 @@ parameters: cluster_node03_address: ${_param:openstack_telemetry_node03_address} mongodb: server: + admin: + user: admin + password: ${_param:mongodb_admin_password} logging: verbose: v diff --git a/mcp/reclass/classes/cluster/mcp-pike-common-noha/openstack_control.yml b/mcp/reclass/classes/cluster/mcp-pike-common-noha/openstack_control.yml index 01b320973..1c94738a4 100644 --- a/mcp/reclass/classes/cluster/mcp-pike-common-noha/openstack_control.yml +++ b/mcp/reclass/classes/cluster/mcp-pike-common-noha/openstack_control.yml @@ -108,6 +108,9 @@ parameters: query_cache_size: 0 mongodb: server: + admin: + user: admin + password: ${_param:mongodb_admin_password} bind: address: ${_param:cluster_local_address},127.0.0.1 logging: -- cgit 1.2.3-korg