Skip to content

Instantly share code, notes, and snippets.

@riywo
Last active December 17, 2015 08:19
Show Gist options
  • Select an option

  • Save riywo/5579491 to your computer and use it in GitHub Desktop.

Select an option

Save riywo/5579491 to your computer and use it in GitHub Desktop.
vagrant-serverspec

vagrant-serverspec

Example

$ tree
├── Vagrantfile
└── serverspec
    ├── precise64
    │   └── httpd_spec.rb
    └── spec_helper.rb

$ cat Vagrantfile
Vagrant.configure("2") do |vagrant|
  vagrant.vm.define :precise64 do |config|
    ...
    config.serverspec.enabled = true
    ...
  end
end

$ vagrant serverspec
/usr/bin/ruby -S rspec serverspec/precise64/httpd_spec.rb
......

Finished in 0.99715 seconds
6 examples, 0 failures
@stephenrjohnson
Copy link
Copy Markdown

Have you released this vagrant plugin?

@flozano
Copy link
Copy Markdown

flozano commented Jul 26, 2013

Also interested here...

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