|
...
|
...
|
@@ -82,6 +82,10 @@ function configure_ceilometer() {
|
|
82
|
82
|
cp $CEILOMETER_DIR/etc/ceilometer/pipeline.yaml $CEILOMETER_CONF_DIR
|
|
83
|
83
|
iniset $CEILOMETER_CONF DEFAULT policy_file $CEILOMETER_CONF_DIR/policy.json
|
|
84
|
84
|
|
|
|
85
|
+ if [ "$CEILOMETER_PIPELINE_INTERVAL" ]; then
|
|
|
86
|
+ sed -i "s/interval:.*/interval: ${CEILOMETER_PIPELINE_INTERVAL}/" $CEILOMETER_CONF_DIR/pipeline.yaml
|
|
|
87
|
+ fi
|
|
|
88
|
+
|
|
85
|
89
|
# the compute and central agents need these credentials in order to
|
|
86
|
90
|
# call out to the public nova and glance APIs
|
|
87
|
91
|
iniset $CEILOMETER_CONF DEFAULT os_username ceilometer
|