Commit 9b7ee686 authored by Thomas Goirand's avatar Thomas Goirand

Add puppet-module-deric-zookeeper as dependency.

parent 4016c370
......@@ -808,6 +808,31 @@ Currently, this is not yet automated:
# redis-cli -h 192.168.101.2 --cluster create 192.168.101.2:6379 192.168.101.3:6379 192.168.101.4:6379
```
## Enabling cloudkitty rating
First, enable the hashmap module:
```
cloudkitty module enable hashmap
cloudkitty module set priority hashmap 100
```
Note that the error 503 may be just ignored, it still works, as "module
list" shows. Now, let's add rating for instances:
```
cloudkitty hashmap group create instance_uptime_flavor
cloudkitty hashmap service create compute
cloudkitty hashmap field create 96a34245-83ae-406b-9621-c4dcd627fb8e flavor
```
The above ID is the one of the hashmap service create. Then we reuse the ID
of the field create we just had for the -f parameter, and the group ID for
the -g parameter below:
```
cloudkitty hashmap mapping create --field-id ce85c041-00a9-4a6a-a25d-9ebf028692b6 --value demo-flavor -t flat -g 2a986ce8-60a3-4f09-911e-c9989d875187 0.03
```
## Adding compute nodes
To add the compute node to the cluster and check it's there, on the controller, do:
......
......@@ -128,6 +128,7 @@ Package: puppet-module-oci
Architecture: all
Depends:
openstack-puppet-modules,
puppet-module-deric-zookeeper,
${misc:Depends},
Description: automatic PXE and puppet-master installer for OpenStack - puppet module
OCI (OpenStack Cluster Installer) is a software to provision an OpenStack
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment