aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/reclass
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2018-05-22 17:58:32 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2018-05-22 18:02:05 +0400
commit82d933c6e80a7cb28f71fec4e273a16414b6d478 (patch)
tree9c097f8508e1fdbce37273d02f2ada1f19fc5dc2 /mcp/reclass
parent01727da023c99aa1c0e04ecbb7aaceb6f30ea2e9 (diff)
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 <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/reclass')
-rw-r--r--mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_telemetry.yml3
-rw-r--r--mcp/reclass/classes/cluster/mcp-pike-common-noha/openstack_control.yml3
2 files changed, 6 insertions, 0 deletions
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: