|
...
|
...
|
@@ -147,9 +147,12 @@ function configure_ceilometer {
|
|
147
|
147
|
|
|
148
|
148
|
# Install the policy file for the API server
|
|
149
|
149
|
cp $CEILOMETER_DIR/etc/ceilometer/policy.json $CEILOMETER_CONF_DIR
|
|
150
|
|
- cp $CEILOMETER_DIR/etc/ceilometer/pipeline.yaml $CEILOMETER_CONF_DIR
|
|
151
|
150
|
iniset $CEILOMETER_CONF DEFAULT policy_file $CEILOMETER_CONF_DIR/policy.json
|
|
152
|
151
|
|
|
|
152
|
+ cp $CEILOMETER_DIR/etc/ceilometer/pipeline.yaml $CEILOMETER_CONF_DIR
|
|
|
153
|
+ cp $CEILOMETER_DIR/etc/ceilometer/api_paste.ini $CEILOMETER_CONF_DIR
|
|
|
154
|
+ cp $CEILOMETER_DIR/etc/ceilometer/event_definitions.yaml $CEILOMETER_CONF_DIR
|
|
|
155
|
+
|
|
153
|
156
|
if [ "$CEILOMETER_PIPELINE_INTERVAL" ]; then
|
|
154
|
157
|
sed -i "s/interval:.*/interval: ${CEILOMETER_PIPELINE_INTERVAL}/" $CEILOMETER_CONF_DIR/pipeline.yaml
|
|
155
|
158
|
fi
|