File tree Expand file tree Collapse file tree 2 files changed +5
-22
lines changed Expand file tree Collapse file tree 2 files changed +5
-22
lines changed Original file line number Diff line number Diff line change @@ -32,9 +32,10 @@ group :system_tests do
3232 if beaker_rspec_version
3333 gem 'beaker-rspec' , *location_for ( beaker_rspec_version )
3434 else
35- gem 'beaker-rspec' , :require => false
35+ gem 'beaker-rspec' , :require => false
3636 end
37- gem 'serverspec' , :require => false
37+ gem 'serverspec' , :require => false
38+ gem 'beaker-puppet_install_helper' , :require => false
3839end
3940
4041facterversion = ENV [ 'GEM_FACTER_VERSION' ] || ENV [ 'FACTER_GEM_VERSION' ]
Original file line number Diff line number Diff line change 11#! /usr/bin/env ruby -S rspec
22require 'beaker-rspec'
3+ require 'beaker/puppet_install_helper'
34
45UNSUPPORTED_PLATFORMS = [ ]
56
6- unless ENV [ 'RS_PROVISION' ] == 'no' or ENV [ 'BEAKER_provision' ] == 'no'
7- foss_opts = {
8- :default_action => 'gem_install' ,
9- :version => ( ENV [ 'PUPPET_VERSION' ] || '3.8.1' ) ,
10- }
11-
12- if default . is_pe? ; then install_pe ; else install_puppet ( foss_opts ) ; end
13-
14- hosts . each do |host |
15- if host [ 'platform' ] !~ /windows/i
16- if host . is_pe?
17- on host , 'mkdir -p /etc/puppetlabs/facter/facts.d'
18- else
19- on host , "/bin/touch #{ host [ 'puppetpath' ] } /hiera.yaml"
20- on host , "mkdir -p #{ host [ 'distmoduledir' ] } "
21- on host , 'mkdir -p /etc/facter/facts.d'
22- end
23- end
24- end
25- end
7+ run_puppet_install_helper
268
279RSpec . configure do |c |
2810 # Project root
You can’t perform that action at this time.
0 commit comments