devstack: use project conf file env variables
OpenStack project configuration files may be stored elsewhere not in the
default /etc directory or with a different filename. Better relying on
existing environment variables set by each project devstack plugin.
Change-Id: I253739c765b469901d0bc6e0c82922645fb92545
Carlos Goncalves
6 years ago
20 | 20 | # -------- |
21 | 21 | |
22 | 22 | CONF_FILES=( |
23 | /etc/cinder/cinder.conf | |
24 | /etc/heat/heat.conf | |
25 | /etc/keystone/keystone.conf | |
26 | /etc/nova/nova.conf | |
27 | /etc/neutron/neutron.conf | |
28 | /etc/glance/glance-api.conf | |
29 | /etc/glance/glance-registry.conf | |
30 | /etc/trove/trove.conf | |
31 | /etc/trove/trove-conductor.conf | |
32 | /etc/trove/trove-guestagent.conf | |
33 | /etc/trove/trove-taskmanager.conf | |
34 | /etc/senlin/senlin.conf | |
35 | /etc/magnum/magnum.conf | |
36 | /etc/zun/zun.conf | |
23 | $CINDER_CONF | |
24 | $HEAT_CONF | |
25 | $KEYSTONE_CONF | |
26 | $NOVA_CONF | |
27 | $NEUTRON_CONF | |
28 | $GLANCE_API_CONF | |
29 | $GLANCE_REGISTRY_CONF | |
30 | $TROVE_CONF | |
31 | $TROVE_CONDUCTOR_CONF | |
32 | $TROVE_GUESTAGENT_CONF | |
33 | $TROVE_TASKMANAGER_CONF | |
34 | $SENLIN_CONF | |
35 | $MAGNUM_CONF | |
36 | $ZUN_CONF | |
37 | 37 | ) |
38 | 38 | |
39 | 39 | # This will update CEILOMETER_NOTIFICATION_TOPICS in ceilometer.conf file |
54 | 54 | iniset $conf profiler hmac_keys $OSPROFILER_HMAC_KEYS |
55 | 55 | fi |
56 | 56 | done |
57 | CEILOMETER_CONF=/etc/ceilometer/ceilometer.conf | |
58 | iniset $CEILOMETER_CONF event store_raw info | |
57 | if [ -f $CEILOMETER_CONF ] | |
58 | then | |
59 | iniset $CEILOMETER_CONF event store_raw info | |
60 | fi | |
59 | 61 | } |
60 | 62 | |
61 | 63 |