Skip to content

Instantly share code, notes, and snippets.

@mgagne
Created April 3, 2015 21:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mgagne/efcf6e904af897aa8932 to your computer and use it in GitHub Desktop.
Save mgagne/efcf6e904af897aa8932 to your computer and use it in GitHub Desktop.
require 'spec_helper'
require 'yaml'
vagrant_yaml = YAML.load_file('Vagrantfile.yaml')
vagrant_yaml['hosts'].each do |hostname, config|
describe "#{hostname}" do
let(:node) { hostname }
let(:facts) do
{:environment => 'dev'}
end
it { is_expected.to contain_class('openstack_infra::server') }
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment