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

Plugin initialisation tells users to expunge but ignores local plugins #13029

Open
tomjn opened this issue Dec 16, 2022 · 0 comments · May be fixed by #13030
Open

Plugin initialisation tells users to expunge but ignores local plugins #13029

tomjn opened this issue Dec 16, 2022 · 0 comments · May be fixed by #13030

Comments

@tomjn
Copy link
Contributor

tomjn commented Dec 16, 2022

If a user updates vagrant, then vagrant plugins will have incorrect dependencies and need to expunge.

Unfortunately, the command suggested does not have --local so users who have local vagrant plugins who try to use the suggested command will complain that it does not work.

Expected behavior

The output should include a --local parameter so that the command fixes things for everybody, not just those who stick to global plugins only

Actual behavior

The output does not include a --local parameter

Reproduction information

Vagrant version

All versions of vagrant ruby

Host operating system

All Operating systems

Guest operating system

All guests

Steps to reproduce

  1. install a vagrant plugin with --local
  2. update vagrant
  3. try to vagrant up and recieve error message
  4. try to use the recommended expunge command
  5. local plugins are not expunged and user is unaware that --local is needed to fix the problem

Vagrantfile

# all vagrant files are affected, contents of vagrant file are irrelevant
tomjn added a commit to tomjn/vagrant-1 that referenced this issue Dec 16, 2022
Adds --local so that users with local plugins installed can benefit from this message instead of causing confusion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants