Fix docs to reflect single config file approach

With https://review.openstack.org/366897 we can use single config file
for all data needed for ccp. We should use this as a default approach,
so fix this in docs.

Change-Id: I1cfc8af3e6c6acc2028ab53aa96bc190e8685d7f
This commit is contained in:
Yuriy Taraday
2016-09-09 12:28:44 +03:00
parent 9ef06192c1
commit 9b2e89bce7
2 changed files with 10 additions and 12 deletions

View File

@@ -58,8 +58,8 @@ as a separate deployment process. You may also want to deploy just the
"logging" components of StackLight, or just the "monitoring" components. Or you
may want to deploy all the StackLight components at once.
In any case you will need to create StackLight-related roles in your CCP global
configuration file (e.g. ``/etc/ccp/globals.yaml``) and you will need to assign
In any case you will need to create StackLight-related roles in your CCP
configuration file (e.g. ``/etc/ccp/ccp.yaml``) and you will need to assign
these roles to nodes.
For example:

View File

@@ -63,7 +63,6 @@ Create CCP CLI configuration file:
mkdir /etc/ccp
cat > /etc/ccp/ccp.yaml << EOF
deploy_config: /etc/ccp/globals.yaml
builder:
push: True
registry:
@@ -72,12 +71,17 @@ Create CCP CLI configuration file:
skip_empty: True
EOF
Create global CCP configuration file:
Append default topology and edit it, if needed:
::
cat > /etc/ccp/globals.yaml << EOF
---
cat fuel-ccp/etc/topology-example.yaml >> /etc/ccp/ccp.yaml
Append global CCP configuration:
::
cat >> /etc/ccp/ccp.yaml << EOF
configs:
private_interface: eth0
public_interface: eth1
@@ -94,12 +98,6 @@ your environment may be different.
- ``neutron_external_interface`` - should point to eth without ip addr (it
actually might be non-existing interface, CCP will create it).
Copy and edit topology file, if needed:
::
cat fuel-ccp/etc/topology-example.yaml >> /etc/ccp/globals.yaml
Fetch CCP components repos:
::