Sha256: 7fba8b4dd0d1d9a8cd666a4677e7bee9b95cdcf1f8e6b9c04df7c1b206892115
Contents?: true
Size: 1.22 KB
Versions: 3
Compression:
Stored size: 1.22 KB
Contents
@announce @vagrant-rackspace Feature: vagrant-rackspace fog tests Background: Given I have Rackspace 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-rackspace" config.vm.box = "dummy" config.ssh.private_key_path = "~/.ssh/id_rsa" config.ssh.max_tries = 1 config.ssh.timeout = 10 config.vm.provider :rackspace do |rs| rs.server_name = 'vagrant-provisioned-server' rs.username = ENV['RAX_USERNAME'] rs.api_key = ENV['RAX_API_KEY'] rs.rackspace_region = ENV['RAX_REGION'].downcase.to_sym rs.flavor = /512MB/ 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 rackspace` # 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
vagrant-rackspace-0.1.4 | features/provision.feature |
vagrant-rackspace-0.1.3 | features/provision.feature |
vagrant-rackspace-0.1.2 | features/provision.feature |