From ac26d48e288d5e74e7c38d4f576a5386e99f9762 Mon Sep 17 00:00:00 2001 From: Emma Foley Date: Mon, 12 Jun 2017 13:06:48 +0000 Subject: [PATCH] [doc] Fixed formatting of devstack/README.md Fixed headings on local.conf example. Change-Id: I928e57c1b8e1bc9c357cecfe8b7cfe2f0f3efbc6 Closes-Bug: #1697409 --- devstack/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/devstack/README.md b/devstack/README.md index f785de3df..01461c659 100644 --- a/devstack/README.md +++ b/devstack/README.md @@ -20,9 +20,9 @@ git clone https://git.openstack.org/openstack-dev/devstack 2. Add the following to the DevStack local.conf file in the root of the devstack directory. You may need to create the local.conf if it does not already exist. +``` # BEGIN DEVSTACK LOCAL.CONF CONTENTS -``` [[local|localrc]] DATABASE_PASSWORD=secretdatabase RABBIT_PASSWORD=secretrabbit @@ -52,9 +52,9 @@ MONASCA_METRICS_DB=${MONASCA_METRICS_DB:-influxdb} # This line will enable all of Monasca. enable_plugin monasca-api git://git.openstack.org/openstack/monasca-api -``` # END DEVSTACK LOCAL.CONF CONTENTS +``` 3. Run './stack.sh' from the root of the devstack directory. @@ -82,7 +82,7 @@ enable_service rabbit mysql key horizon tempest Vagrant can be used to deploy a VM with Devstack and Monasca running in it using the Vagrantfile. After installing Vagrant, just run the command `vagrant up` as usual in the `../monasca-api/devstack` directory. -To use local repositories in the devstack install, commit your changes to the master branch of the local repo, then modify the '_REPO' variable in the settings file that corresponds to the local repo to use ```file://my/local/repo/location```. +To use local repositories in the devstack install, commit your changes to the master branch of the local repo, then modify the `_REPO` variable in the settings file that corresponds to the local repo to use ```file://my/local/repo/location```. To use a local instance of the monasca-api repo, change the ```enable_plugin monasca-api https://git.openstack.org/openstack/monasca-api``` to ```enable_plugin monasca-api file://my/repo/is/here```. Both of these settings will only take effect on a rebuild of the devstack VM. ## Enable Vertica as the Metrics DB using Vagrant