Merge "check ceilometer conf exist before grep it"
This commit is contained in:
commit
0ca9175e52
@ -1,4 +1,7 @@
|
||||
register_project_for_upgrade ceilometer
|
||||
if [ ! -f /etc/ceilometer/ceilometer.conf ]; then
|
||||
return
|
||||
fi
|
||||
if grep -q 'connection *= *mysql' /etc/ceilometer/ceilometer.conf; then
|
||||
register_db_to_save ceilometer
|
||||
fi
|
||||
register_db_to_save ceilometer
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user