Skip to content

Instantly share code, notes, and snippets.

@mmgaggle
Created December 9, 2013 22:34
Show Gist options
  • Save mmgaggle/7882220 to your computer and use it in GitHub Desktop.
Save mmgaggle/7882220 to your computer and use it in GitHub Desktop.
vagrant-aws broken?
kyle@synapse ~/vagrant-aws $ > cat Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure('2') do |config|
if Vagrant.has_plugin?('vagrant-cachier')
puts 'Plugin detected!'
end
end
kyle@synapse ~/vagrant-aws $ > vagrant plugin list
vagrant-aws (0.4.0)
vagrant-cachier (0.5.0)
vagrant-omnibus (1.1.2)
vagrant-vmware-fusion (2.2.0)
kyle@synapse ~/vagrant-aws $ > vagrant status
Plugin detected! <-------- Yay!
Current machine states:
default not created (virtualbox)
The environment has not yet been created. Run `vagrant up` to
create the environment. If a machine is not created, only the
default provider will be shown. So if a provider is not listed,
then the machine is not created for that environment.
<snip>
kyle@synapse ~/vagrant-aws $ > cat Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure('2') do |config|
if Vagrant.has_plugin?('vagrant-aws')
puts 'Plugin detected!'
end
end
kyle@synapse ~/vagrant-aws $ > vagrant plugin list
vagrant-aws (0.4.0)
vagrant-cachier (0.5.0)
vagrant-omnibus (1.1.2)
vagrant-vmware-fusion (2.2.0)
kyle@synapse ~/vagrant-aws $ > vagrant status
Current machine states:
default not created (virtualbox)
The environment has not yet been created. Run `vagrant up` to
create the environment. If a machine is not created, only the
default provider will be shown. So if a provider is not listed,
then the machine is not created for that environment.
@scalp42
Copy link

scalp42 commented Dec 10, 2013

What you need for vagrant-aws is:

Vagrant.configure('2') do |config|
  if Vagrant.has_plugin?('AWS')
    puts 'Plugin detected!'
  end
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment