Sha256: 87d9b44a42fd9ec8a71093243e122526176fa65c5db5637a55b9a9208441c070
Contents?: true
Size: 1.16 KB
Versions: 2
Compression:
Stored size: 1.16 KB
Contents
@announce @vagrant-openstack Feature: vagrant-openstack fog tests Background: Given I have Openstack credentials available And I have a "fog_mock.rb" file Scenario: Create a single server (with provisioning) Given a file named "Vagrantfile" with: """ Vagrant.configure("2") do |config| Vagrant.require_plugin "vagrant-openstack" config.vm.box = "dummy" config.ssh.private_key_path = "~/.ssh/id_rsa" config.vm.provider :openstack do |rs| rs.server_name = 'vagrant-provisioned-server' rs.username = ENV['RAX_USERNAME'] rs.api_key = ENV['RAX_API_KEY'] rs.openstack_region = ENV['RAX_REGION'].downcase.to_sym rs.flavor = /1 GB Performance/ rs.image = /Ubuntu/ rs.public_key_path = "~/.ssh/id_rsa.pub" end config.vm.provision :shell, :inline => "echo Hello, World" end """ When I successfully run `bundle exec vagrant up --provider openstack` # I want to capture the ID like I do in tests for other tools, but Vagrant doesn't print it! # And I get the server from "Instance ID:" Then the server "vagrant-provisioned-server" should be active
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vagrant-openstack-provider-0.1.1 | features/provision.feature |
vagrant-openstack-provider-0.1 | features/provision.feature |