Hi,

I recently noticed that a custom plugin we use at Paperless Post isn't 
loading. When I attempt to run the command my plugin defines, Vagrant just 
outputs the list of commands it supports. I downgraded Vagrant to 1.5.4 
(we're on 1.6.3) and the plugin loaded again -- the command executed as 
expected. I was testing it with the following code in my Vagrantfile:

class MyCommand < Vagrant.plugin('2', :command)
>   def execute
>     puts 'hello'
>     0
>   end
> end 

class MyPlugin < Vagrant.plugin('2')
>   name 'myplugin'
>   command :mycommand do
>     MyCommand
>   end
> end
>
>
Has there been some change between 1.5.x and 1.6.x that would prevent my 
command from working on the latest version of Vagrant? Or am I doing 
something wrong?

Thanks,

Alex
Paperless Post

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to