Correct configuration of o-c-c collectors

o-c-c registers it's "collectors" config param as a MultiStrOpt, rather
than a ListOpt. The required configuration file format for this type of
option is:

     [DEFAULT]
     collectors = heat_local
     collectors = ec2
     collectors = ...

Change-Id: I35063c75781f855883b02e1e0438b8cc08475ced
This commit is contained in:
Kiall Mac Innes 2014-08-28 14:41:55 +01:00
parent 1128e31eff
commit 2246f184aa
2 changed files with 5 additions and 2 deletions

View File

@ -9,7 +9,10 @@ Heat Metadata can be used to configure os-collect-config:
os-collect-config:
command: os-refresh-config
cachedir: /var/run/os-collect-config
collectors: heat_local,ec2,cfn
collectors:
- heat_local
- ec2
- cfn
polling_interval: 300
cfn:
metadata_url: http://foo:8000/v1

View File

@ -13,7 +13,7 @@ polling_interval = {{polling_interval}}
cachedir = {{cachedir}}
{{/cachedir}}
{{#collectors}}
collectors = {{collectors}}
collectors = {{.}}
{{/collectors}}
{{#cfn}}