Preparation for scenario_node_terminus tests

Initial preparation:
* Adapt the README with instructions to download and prepare SNT
* Install SNT into the vagrant instances used in the system tests
* all the necessary plumbing around the above two tasks

Change-Id: Ibc9d60f54061d7dbb6e19520597154a06f70382a
This commit is contained in:
David Gurtner 2014-05-29 15:45:22 +02:00
parent bdd329ecef
commit 2969db6436
3 changed files with 7 additions and 0 deletions

View File

@ -11,3 +11,6 @@ mod 'puppetlabs/apt',
mod 'puppetlabs/inifile',
:git => 'git://github.com/puppetlabs/puppetlabs-inifile',
:ref => '1.0.3'
mod 'bodepd/scenario_node_terminus',
:git => 'git://github.com/bodepd/scenario_node_terminus'

View File

@ -79,6 +79,7 @@ and tests are in spec/system. It runs virtual machines and requires
* BUNDLE_PATH=/tmp/vendor bundle install
* BUNDLE_PATH=/tmp/vendor bundle exec rake lint
* BUNDLE_PATH=/tmp/vendor bundle exec rake spec
* git clone https://github.com/bodepd/scenario_node_terminus.git ../scenario_node_terminus
* BUNDLE_PATH=/tmp/vendor bundle exec rake spec:system
The RELEASES environment variable contains the list of ceph releases

View File

@ -38,6 +38,9 @@ RSpec.configure do |c|
puppet_module_install(:source => proj_root,
:module_name => 'ceph',
:node => vm)
puppet_module_install(:source => File.join(proj_root, '../scenario_node_terminus'),
:module_name => 'scenario_node_terminus',
:node => vm)
shell(:command => 'puppet module install --version 4.1.0 puppetlabs/stdlib',
:node => vm)
shell(:command => 'puppet module install --version 1.0.0 puppetlabs/inifile',