Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a workaround for rabbitmq_vhost when running with --noop or --tags #969

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

bugfood
Copy link
Contributor

@bugfood bugfood commented Jan 2, 2024

Pull Request (PR) description

This fixes the error:

Error: Could not prefetch rabbitmq_vhost provider 'rabbitmqctl': Command rabbitmqctl is missing

The problem, and the workaround, are the same as that described in commit 8a3a27a, "add a workaround for running with --noop or --tags".

This is necessary because the original workaround is for rabbitmqctl_list(), whereas rabbitmq_version() calls rabbitmqctl() directly.

Other callers of rabbitmq_version() should not need this workaround, since they are not run in a state where rabbitmq itself is not yet installed.

This Pull Request (PR) fixes the following issues

Fixes #961

This fixes the error:
Error: Could not prefetch rabbitmq_vhost provider 'rabbitmqctl': Command rabbitmqctl is missing

The problem, and the workaround, are the same as that described in
commit 8a3a27a, "add a workaround for
running with --noop or --tags".

This is necessary because the original workaround is for
rabbitmqctl_list(), whereas rabbitmq_version() calls rabbitmqctl()
directly.

Other callers of rabbitmq_version() should not need this workaround,
since they are not run in a state where rabbitmq itself is not yet
installed.
@wyardley wyardley merged commit 2605e30 into voxpupuli:master Jan 3, 2024
6 checks passed
@bugfood
Copy link
Contributor Author

bugfood commented Jan 3, 2024

Thank you.

@wyardley wyardley added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels May 18, 2024
@wyardley wyardley mentioned this pull request May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

resources fail to prefetch when rabbitmq is not intended to be installed (via --noop or --tags)
2 participants