Install only the required storage driver extras
At the moment, all drivers are being installed for Gnocchi even if some of them are not used. This also means that some libraries are being built which are not needed (such as for Ceph or Swift when using file storage). This patch switches the behaviour to install only the extra for the driver in use. Change-Id: I6e9f938885036d2fabc81094e01e220b09e462dd
This commit is contained in:
parent
4891d9bdfb
commit
0e5cedca60
@ -167,7 +167,7 @@ gnocchi_requires_pip_packages:
|
||||
gnocchi_pip_packages:
|
||||
- cryptography
|
||||
- gnocchiclient
|
||||
- "gnocchi[mysql,file,swift,ceph]"
|
||||
- "gnocchi[mysql,{{ gnocchi_storage_driver | default('file') }}]"
|
||||
- keystonemiddleware
|
||||
- python-memcached
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user