Merge "Replace mongo shell interaction with script"
This commit is contained in:
commit
0dcaff893d
@ -91,12 +91,11 @@
|
||||
<step>
|
||||
<para>Create the database and a <literal>ceilometer</literal>
|
||||
database user:</para>
|
||||
<screen><prompt>#</prompt> <userinput>mongo --host <replaceable>controller</replaceable></userinput>
|
||||
<prompt>></prompt> <userinput>use ceilometer</userinput>
|
||||
<prompt>></prompt> <userinput>db.addUser( { user: "ceilometer",
|
||||
<screen><prompt>#</prompt> <userinput>mongo --host <replaceable>controller</replaceable> --eval '
|
||||
db = db.getSiblingDB("ceilometer");
|
||||
db.addUser({user: "ceilometer",
|
||||
pwd: "<replaceable>CEILOMETER_DBPASS</replaceable>",
|
||||
roles: [ "readWrite", "dbAdmin" ]
|
||||
} )</userinput></screen>
|
||||
roles: [ "readWrite", "dbAdmin" ]})'</userinput></screen>
|
||||
</step>
|
||||
<step>
|
||||
<para>Configure the Telemetry service to use the database:</para>
|
||||
|
Loading…
Reference in New Issue
Block a user