redhat-cip / openstack-serverspec

The serverspec tests for the puppet-openstack-cloud module
Apache License 2.0
12 stars 13 forks source link

Retrieve hostname using an excluded tag instead of an environment variab... #35

Closed lebauce closed 10 years ago

lebauce commented 10 years ago

The Rakefile used the TARGET_HOST environment variable to specify the host to check. That ceased to work in new versions of rspec.

This patch fixes this by using rspec excluded tags. It passes an "-tag ~host:os-ci-test4" argument to the rspec command line.