4fc809bf79
* Required for pacemaker service provider wrappers implementation. * Add Puppet-openstack_extras module which comes to replace puppet-openstack in upstream. commit sha: b0b83dbf4507db36220f9c04c68e4788109b1c4b Source: https://github.com/stackforge/puppet-openstack_extras * Add a dependency epel module v1.0.0 db0cdeba51739e748c965974ec832acada227084 Source: https://github.com/stahnma/puppet-module-epel Related blueprint pacemaker-improvements Change-Id: Ib607cd77d56e55489e2a855c7ca933b8eb9fcaee Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
24 lines
569 B
Ruby
24 lines
569 B
Ruby
require 'rspec-system/spec_helper'
|
|
require 'rspec-system-puppet/helpers'
|
|
|
|
include RSpecSystemPuppet::Helpers
|
|
|
|
RSpec.configure do |c|
|
|
# Project root for the this module's code
|
|
proj_root = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
|
|
|
# Enable colour in Jenkins
|
|
c.tty = true
|
|
|
|
c.include RSpecSystemPuppet::Helpers
|
|
|
|
# This is where we 'setup' the nodes before running our tests
|
|
c.before :suite do
|
|
# Install puppet
|
|
puppet_install
|
|
puppet_master_install
|
|
|
|
puppet_module_install(:source => proj_root, :module_name => 'epel')
|
|
end
|
|
end
|