fix config generation

- This change qoutes the module name
- This change fixes processing of
  COLLECTD_BATCH_SIZE

Change-Id: I1de49d65351e5973b794eec973efec852d42151b
Closes-Bug: #1607526
This commit is contained in:
Sean Mooney 2016-07-28 20:30:58 +00:00
parent d1b85e9796
commit 9b56c14d85
1 changed files with 2 additions and 2 deletions

View File

@ -44,13 +44,13 @@ cat << EOF | sudo tee $COLLECTD_CONF_DIR/collectd-ceilometer-plugin.conf
Interactive false Interactive false
Import "collectd_ceilometer.plugin" Import "collectd_ceilometer.plugin"
<Module collectd_ceilometer.plugin> <Module "collectd_ceilometer.plugin">
# Verbosity 1|0 # Verbosity 1|0
#VERBOSE 0 #VERBOSE 0
# Batch size # Batch size
BATCH_SIZE 3 BATCH_SIZE "$COLLECTD_BATCH_SIZE"
# Service endpoint addresses # Service endpoint addresses
OS_AUTH_URL "$OS_AUTH_URL" OS_AUTH_URL "$OS_AUTH_URL"