paliarush / magento2-vagrant-for-developers

Vagrant Box for Magento 2 Developers
MIT License
447 stars 165 forks source link

AMQP configuration doesn't work on composer installation due to invalid path to module #207

Closed igrybkov closed 6 years ago

igrybkov commented 6 years ago

Code line: https://github.com/paliarush/magento2-vagrant-for-developers/blob/2.0/scripts/guest/m-reinstall#L80

Second condition has a path vendor/magento/magento-message-queue which is wrong. Correct path should be vendor/magento/module-message-queue.

if [[ -d "${MAGENTO_ROOT}/app/code/Magento/MessageQueue" ]] || [[ -d "${MAGENTO_ROOT}/vendor/magento/magento-message-queue" ]]; then
    install_cmd="${install_cmd} \
    --amqp-host=${setupOptions[amqp_host]} \
    --amqp-port=${setupOptions[amqp_port]} \
    --amqp-user=${setupOptions[amqp_user]} \
    --amqp-virtualhost=${setupOptions[amqp_virtualhost]} \
    --amqp-password=${setupOptions[amqp_password]}"
fi