simp-beaker-helpers 1.18.8 → 1.19.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.fips_fixtures +8 -0
- data/.fixtures.yml +3 -4
- data/.gitignore +1 -0
- data/.gitlab-ci.yml +338 -125
- data/.travis.yml +39 -33
- data/CHANGELOG.md +40 -0
- data/Gemfile +1 -1
- data/Rakefile +1 -1
- data/files/pki/template_ca.cnf +1 -1
- data/files/pki/template_host.cnf +1 -1
- data/lib/simp/beaker_helpers.rb +124 -64
- data/lib/simp/beaker_helpers/constants.rb +1 -1
- data/lib/simp/beaker_helpers/version.rb +1 -1
- data/spec/acceptance/nodesets/default.yml +5 -5
- data/spec/acceptance/suites/default/check_puppet_version_spec.rb +2 -2
- data/spec/acceptance/suites/default/fixture_modules_spec.rb +22 -4
- data/spec/acceptance/suites/default/install_simp_deps_repo_spec.rb +14 -20
- data/spec/acceptance/suites/default/nodesets +1 -1
- data/spec/acceptance/suites/fips_from_fixtures/00_default_spec.rb +3 -0
- data/spec/acceptance/suites/fips_from_fixtures/nodesets +1 -1
- data/spec/acceptance/suites/puppet_collections/00_default_spec.rb +11 -13
- data/spec/acceptance/suites/snapshot/nodesets +1 -1
- data/spec/acceptance/suites/windows/nodesets/default.yml +3 -1
- data/spec/lib/simp/beaker_helpers_spec.rb +17 -34
- metadata +36 -9
- data/spec/acceptance/suites/puppet_collections/nodesets/default.yml +0 -30
data/.travis.yml
CHANGED
@@ -1,36 +1,42 @@
|
|
1
1
|
---
|
2
|
-
language:
|
3
|
-
cache: bundler
|
4
|
-
sudo: false
|
5
|
-
before_install:
|
6
|
-
- rm Gemfile.lock || true
|
7
|
-
bundler_args: "--without development --path .vendor"
|
2
|
+
language: shell
|
8
3
|
notifications:
|
9
4
|
email: false
|
10
|
-
|
11
|
-
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
rvm: 2.4.
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
5
|
+
stages:
|
6
|
+
- name: deploy
|
7
|
+
if: 'tag IS present'
|
8
|
+
|
9
|
+
### Testing on Travis CI is indefinitely disabled
|
10
|
+
###
|
11
|
+
### See:
|
12
|
+
### * https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing
|
13
|
+
### * https://simp-project.atlassian.net/browse/SIMP-8703
|
14
|
+
jobs:
|
15
|
+
include:
|
16
|
+
- stage: deploy
|
17
|
+
script: skip
|
18
|
+
cache: bundler
|
19
|
+
before_install:
|
20
|
+
- rm Gemfile.lock || true
|
21
|
+
bundler_args: "--without development --path .vendor"
|
22
|
+
language: ruby
|
23
|
+
rvm: 2.4.5
|
24
|
+
before_deploy:
|
25
|
+
- bundle exec rake clobber
|
26
|
+
- "export GEM_VERSION=`ruby -r ./lib/simp/beaker_helpers/version.rb -e 'puts Simp::BeakerHelpers::VERSION'`"
|
27
|
+
- '[[ $TRAVIS_TAG =~ ^${GEM_VERSION}$ ]]'
|
28
|
+
deploy:
|
29
|
+
- provider: rubygems
|
30
|
+
gemspec: simp-beaker-helpers.gemspec
|
31
|
+
gem: simp-beaker-helpers
|
32
|
+
token:
|
33
|
+
secure: "AlnBx0dBSxn+S97n0h14ltKUOA+6v0bc7QZPIcwGJV9nnf1hKH3pf9La1TVknEx7XgpAcM9jusQJ7hBlqvSq8z8SFF0bZk1EgSRIKc1cuYPLiGyUM2O7+AFHyCy3iCnPvKeoQmE/BJb5O1dGnbmSbf4A0fqLxA7jiHG1j7z+cnmJB1i67wovDfl13TsOXyBfbespWBMMc0BKAw56FPs9XggAk2cNusS3hd5tqW1AZPT2/xwt+d8ngkmO96u8QcichYRFQ+w+XW4H0w935wNg/dWiskJlt7TIYVAh4Ko5s2DZKf52Tne8TugALSn0LhRatpp7sw1FTTpteCW8UqK8uwGC2hM4pZViAOv4P1YObz2IPOZPriBl+cCayJdMKnotkUJliAMnw5TLiSWKLou+S0Pdj2h3fJZWdOEwRPMzIVoJtsOHG3GdNcPL6f7iU0vP/wr6FeR3uWa+fA7NHRi2Du955O8JpogjdrW08ahcAEwhtI3A4mrA08wN09axsrwr093uDRm/5h4FHyAhExJ0YiA/6kcPpUvILcLStyHe0RQDICQMdsQo2DSbnL65w3QjFa2fML2Shf9cRwX06+ia2BxozWzFD/6p3RiRtPxphnbFiUdjYSGWcwCcUgbJx9SW04lSSxOhpyItuXgxZqiybkzstXd6riu5zwg1R8TWk34="
|
34
|
+
on:
|
35
|
+
tags: true
|
36
|
+
condition: "($SKIP_PUBLISH != true)"
|
37
|
+
- provider: releases
|
38
|
+
token:
|
39
|
+
secure: "I41p4aqjkrNDHJhZ5gWC4gzn7BVwEYRm5Q3PAxQRSIUDB/QTVgNqZx8YptkuIvSGpw8kIywyZg3NKdzGUO8aJJ0NlXapL7e9qQIigkYhdaCZjZFG5zIxdOFs4sVoz/6vnQT9JIcGWy7uS5xiNOulGvfEWU78+e+I9yPdT74RApve5VAVT/km5lV5ldRnwwehLnTx+volUlnOD8rwfizoVLqFTrfRfr4cVMF605UYyaiVxHF50hywFRZoAdVcMEhlLQnQXfz/ZsLMJLJm9eCpjQ989N0oX6theSLCcv7QtHcWMXydjWMcpuTfBZSFrwUVbC23uMOKTJVEWq5LMG3m2L6hP3//2gvUzGhOVLvoGuC+erboB7QoXdcoOgXY+dTZPMcPBxpArdDLWVQSLTvPs05QzpaUdRLVMC/kD1d1EudlEicgkNgNDBhBn3089nVmvKndbKLvj+23a5AQVVbs+8C0x+SJvTc9N2N+bmuH7jIJPrEvWK4xwcQa+g2M/EBv05jaEdSErlVa6B6UKCH0Lea9rpy1se9vn5OzpaaMCCJIpcpQqHDjo0PMAQXBSbqjKcBei6lR5fIFl5UO9gWP1v8PGPuCzGTBivQ92XlgV1TWXmdbJHwIuSbJx3Ali7Wp19RR4E4uHC+TPFssvgkh9ZLkORnWWS35wzzU1LkwWx0="
|
40
|
+
on:
|
41
|
+
tags: true
|
42
|
+
condition: "($SKIP_PUBLISH != true)"
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,43 @@
|
|
1
|
+
### 1.19.4 / 2021-01-05
|
2
|
+
* Fixed:
|
3
|
+
* Only return a default empty string when `pfact_on` finds a `nil` value
|
4
|
+
* Added an acceptance test to validate this
|
5
|
+
* Ensure that we start with `facter -p` for `facter` < 4.0 and continue to
|
6
|
+
`puppet facts` otherwise
|
7
|
+
* Updated the Rakefile to skip symlinks in chmods which fixes the ability to
|
8
|
+
build gems
|
9
|
+
|
10
|
+
### 1.19.3 / 2021-01-01
|
11
|
+
* Fixed:
|
12
|
+
* Ensure that `pfact_on` can handle fact dot notation
|
13
|
+
* Changed:
|
14
|
+
* Silenced some of the noisy commands that didn't provide value-add output
|
15
|
+
|
16
|
+
### 1.19.2 / 2020-12-19
|
17
|
+
* Fixed:
|
18
|
+
* Fixed an issue with pfact_on
|
19
|
+
|
20
|
+
### 1.19.1 / 2020-12-02
|
21
|
+
* Fixed:
|
22
|
+
* Bumped the core puppet version to 6.X
|
23
|
+
* Fixed the file_content_on method
|
24
|
+
* Removed EL 6 support from the tests since the core repos are defunct
|
25
|
+
* Started removing some of the puppet 4 tests
|
26
|
+
|
27
|
+
### 1.19.0 / 2020-09-30
|
28
|
+
* Fixed:
|
29
|
+
* rsync handling has a better check to see if rsync actually works prior to
|
30
|
+
using it. The old method had the potential to try and use rsync even if it
|
31
|
+
no longer worked (FIPS flipped for example).
|
32
|
+
* Changed:
|
33
|
+
* Migrated from PackageCloud to the SIMP download server for updates moving
|
34
|
+
forward.
|
35
|
+
|
36
|
+
### 1.18.9 / 2020-08-04
|
37
|
+
* Change windows 2012r2 VM to work around issues where the old image had
|
38
|
+
duplicate ports trying to be opened
|
39
|
+
* Increase test CA bits to 4096
|
40
|
+
|
1
41
|
### 1.18.8 / 2020-07-14
|
2
42
|
* Allow the beaker version to be pinned by environment variable
|
3
43
|
|
data/Gemfile
CHANGED
@@ -44,7 +44,7 @@ group :system_tests do
|
|
44
44
|
gem 'beaker-rspec'
|
45
45
|
gem 'beaker-windows'
|
46
46
|
gem 'net-ssh'
|
47
|
-
gem 'puppet', ENV.fetch('PUPPET_VERSION', '~>
|
47
|
+
gem 'puppet', ENV.fetch('PUPPET_VERSION', '~> 6.0')
|
48
48
|
gem 'puppetlabs_spec_helper'
|
49
49
|
gem 'rubocop'
|
50
50
|
gem 'rubocop-rspec'
|
data/Rakefile
CHANGED
@@ -30,7 +30,7 @@ task :chmod do
|
|
30
30
|
gemspec = File.expand_path( "#{@package}.gemspec", @rakefile_dir ).strip
|
31
31
|
spec = Gem::Specification::load( gemspec )
|
32
32
|
spec.files.each do |file|
|
33
|
-
FileUtils.chmod 'go=r', file
|
33
|
+
FileUtils.chmod 'go=r', file unless File.symlink?(file)
|
34
34
|
end
|
35
35
|
end
|
36
36
|
|
data/files/pki/template_ca.cnf
CHANGED
@@ -93,7 +93,7 @@ emailAddress = optional
|
|
93
93
|
|
94
94
|
####################################################################
|
95
95
|
[ req ]
|
96
|
-
default_bits =
|
96
|
+
default_bits = 4096
|
97
97
|
default_keyfile = privkey.pem
|
98
98
|
distinguished_name = req_distinguished_name
|
99
99
|
attributes = req_attributes
|
data/files/pki/template_host.cnf
CHANGED
@@ -96,7 +96,7 @@ emailAddress = optional
|
|
96
96
|
|
97
97
|
####################################################################
|
98
98
|
[ req ]
|
99
|
-
default_bits =
|
99
|
+
default_bits = 4096
|
100
100
|
default_keyfile = privkey.pem
|
101
101
|
distinguished_name = req_distinguished_name
|
102
102
|
attributes = req_attributes
|
data/lib/simp/beaker_helpers.rb
CHANGED
@@ -30,20 +30,44 @@ module Simp::BeakerHelpers
|
|
30
30
|
).output.strip == '1'
|
31
31
|
end
|
32
32
|
|
33
|
+
def rsync_functional_on?(sut)
|
34
|
+
# We have to check if rsync *still* works otherwise
|
35
|
+
return false if (@rsync_functional == false)
|
36
|
+
|
37
|
+
require 'facter'
|
38
|
+
unless Facter::Util::Resolution.which('rsync')
|
39
|
+
@rsync_functional = false
|
40
|
+
return @rsync_functional
|
41
|
+
end
|
42
|
+
|
43
|
+
require 'tempfile'
|
44
|
+
|
45
|
+
testfile = Tempfile.new('rsync_check')
|
46
|
+
testfile.puts('test')
|
47
|
+
testfile.close
|
48
|
+
|
49
|
+
begin
|
50
|
+
rsync_to(sut, testfile.path, sut.system_temp_path)
|
51
|
+
rescue Beaker::Host::CommandFailure
|
52
|
+
@rsync_functional = false
|
53
|
+
return false
|
54
|
+
ensure
|
55
|
+
testfile.unlink
|
56
|
+
end
|
57
|
+
|
58
|
+
return true
|
59
|
+
end
|
60
|
+
|
33
61
|
# Figure out the best method to copy files to a host and use it
|
34
62
|
#
|
35
63
|
# Will create the directories leading up to the target if they don't exist
|
36
64
|
def copy_to(sut, src, dest, opts={})
|
37
|
-
unless fips_enabled(sut) || @has_rsync
|
38
|
-
%x{which rsync 2>/dev/null}.strip
|
39
|
-
|
40
|
-
@has_rsync = !$?.nil? && $?.success?
|
41
|
-
end
|
42
|
-
|
43
65
|
sut.mkdir_p(File.dirname(dest))
|
44
66
|
|
45
67
|
if sut[:hypervisor] == 'docker'
|
46
68
|
exclude_list = []
|
69
|
+
opts[:silent] ||= true
|
70
|
+
|
47
71
|
if opts.has_key?(:ignore) && !opts[:ignore].empty?
|
48
72
|
opts[:ignore].each do |value|
|
49
73
|
exclude_list << "--exclude '#{value}'"
|
@@ -57,7 +81,7 @@ module Simp::BeakerHelpers
|
|
57
81
|
container_id = sut.host_hash[:docker_container_id]
|
58
82
|
end
|
59
83
|
%x(tar #{exclude_list.join(' ')} -hcf - -C "#{File.dirname(src)}" "#{File.basename(src)}" | docker exec -i "#{container_id}" tar -C "#{dest}" -xf -)
|
60
|
-
elsif
|
84
|
+
elsif rsync_functional_on?(sut)
|
61
85
|
# This makes rsync_to work like beaker and scp usually do
|
62
86
|
exclude_hack = %(__-__' -L --exclude '__-__)
|
63
87
|
|
@@ -92,9 +116,34 @@ module Simp::BeakerHelpers
|
|
92
116
|
|
93
117
|
# use the `puppet fact` face to look up facts on an SUT
|
94
118
|
def pfact_on(sut, fact_name)
|
95
|
-
|
96
|
-
|
97
|
-
facts
|
119
|
+
require 'ostruct'
|
120
|
+
|
121
|
+
# If puppet is not installed, there are no puppet facts to fetch
|
122
|
+
if sut.which('puppet').empty?
|
123
|
+
fact_on(sut, fact_name, :silent => true)
|
124
|
+
else
|
125
|
+
facts_json = nil
|
126
|
+
begin
|
127
|
+
cmd_output = on(sut, 'facter -p --json', :silent => true)
|
128
|
+
|
129
|
+
# Facter 4+
|
130
|
+
raise('skip facter -p') if (cmd_output.stderr =~ /no longer supported/)
|
131
|
+
|
132
|
+
facts = JSON.parse(cmd_output.stdout, object_class: OpenStruct)
|
133
|
+
rescue StandardError
|
134
|
+
# If *anything* fails, we need to fall back to `puppet facts`
|
135
|
+
|
136
|
+
facts_json = on(sut, 'puppet facts find garbage_xxx', :silent => true).stdout
|
137
|
+
facts = JSON.parse(facts_json, object_class: OpenStruct).values
|
138
|
+
end
|
139
|
+
|
140
|
+
found_fact = facts.dig(*(fact_name.split('.')))
|
141
|
+
|
142
|
+
# Fall back to the behavior in fact_on
|
143
|
+
found_fact = '' if found_fact.nil?
|
144
|
+
|
145
|
+
return found_fact
|
146
|
+
end
|
98
147
|
end
|
99
148
|
|
100
149
|
# Returns the modulepath on the SUT, as an Array
|
@@ -584,7 +633,7 @@ module Simp::BeakerHelpers
|
|
584
633
|
end
|
585
634
|
|
586
635
|
def sosreport(sut, dest='sosreports')
|
587
|
-
sut
|
636
|
+
on(sut, 'puppet resource package sos ensure=latest')
|
588
637
|
on(sut, 'sosreport --batch')
|
589
638
|
|
590
639
|
files = on(sut, 'ls /var/tmp/sosreport* /tmp/sosreport* 2>/dev/null', :accept_all_exit_codes => true).output.lines.map(&:strip)
|
@@ -864,10 +913,10 @@ done
|
|
864
913
|
file_content = nil
|
865
914
|
|
866
915
|
if file_exists_on(sut, path)
|
867
|
-
Dir.
|
868
|
-
scp_from(
|
916
|
+
Dir.mktmpdir do |dir|
|
917
|
+
scp_from(sut, path, dir)
|
869
918
|
|
870
|
-
file_content = File.read(File.basename(path))
|
919
|
+
file_content = File.read(File.join(dir,File.basename(path)))
|
871
920
|
end
|
872
921
|
end
|
873
922
|
|
@@ -958,7 +1007,7 @@ done
|
|
958
1007
|
# @returns [String] Path to the Hieradata directory on the target system
|
959
1008
|
def hiera_datadir(sut)
|
960
1009
|
# This output lets us know where Hiera is configured to look on the system
|
961
|
-
puppet_lookup_info = on(sut, 'puppet lookup --explain test__simp__test').output.strip.lines
|
1010
|
+
puppet_lookup_info = on(sut, 'puppet lookup --explain test__simp__test', :silent => true).output.strip.lines
|
962
1011
|
|
963
1012
|
if sut.puppet_configprint['manifest'].nil? || sut.puppet_configprint['manifest'].empty?
|
964
1013
|
fail("No output returned from `puppet config print manifest` on #{sut}")
|
@@ -1170,62 +1219,73 @@ done
|
|
1170
1219
|
run_puppet_install_helper(install_info[:puppet_install_type], install_info[:puppet_install_version])
|
1171
1220
|
end
|
1172
1221
|
|
1173
|
-
# Configure all SIMP repos on a host and
|
1222
|
+
# Configure all SIMP repos on a host and disable all repos in the disable Array
|
1174
1223
|
#
|
1175
|
-
# @param sut Host on which to configure SIMP repos
|
1176
|
-
# @param disable List of
|
1177
|
-
# @raise if disable contains an invalid repo name.
|
1224
|
+
# @param sut [Beaker::Host] Host on which to configure SIMP repos
|
1225
|
+
# @param disable [Array[String]] List of repos to disable
|
1226
|
+
# @raise [StandardError] if disable contains an invalid repo name.
|
1178
1227
|
#
|
1179
1228
|
# Examples:
|
1180
1229
|
# install_simp_repos( myhost ) # install all the repos an enable them.
|
1181
1230
|
# install_simp_repos( myhost, ['simp']) # install the repos but disable the simp repo.
|
1182
1231
|
#
|
1183
|
-
#
|
1184
|
-
# 'simp'
|
1185
|
-
# 'simp_deps'
|
1232
|
+
# Valid repo names include any repository available on the system.
|
1186
1233
|
#
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1190
|
-
|
1191
|
-
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1195
|
-
|
1196
|
-
|
1197
|
-
|
1198
|
-
|
1199
|
-
|
1200
|
-
|
1201
|
-
|
1202
|
-
|
1203
|
-
|
1204
|
-
|
1205
|
-
|
1206
|
-
|
1207
|
-
|
1208
|
-
|
1209
|
-
|
1210
|
-
|
1211
|
-
|
1212
|
-
|
1213
|
-
|
1214
|
-
|
1215
|
-
}
|
1216
|
-
# Verify that the repos passed to disable are in the list of valid repos
|
1217
|
-
disable.each { |d|
|
1218
|
-
unless repos.has_key?(d)
|
1219
|
-
raise("ERROR: install_simp_repo - disable contains invalid SIMP repo '#{d}'.")
|
1234
|
+
# For backwards compatibility purposes, the following translations are
|
1235
|
+
# automatically performed:
|
1236
|
+
#
|
1237
|
+
# * 'simp'
|
1238
|
+
# * 'simp-community-simp'
|
1239
|
+
#
|
1240
|
+
# * 'simp_deps'
|
1241
|
+
# * 'simp-community-epel'
|
1242
|
+
# * 'simp-community-postgres'
|
1243
|
+
# * 'simp-community-puppet'
|
1244
|
+
#
|
1245
|
+
def install_simp_repos(sut, disable = [])
|
1246
|
+
# NOTE: Do *NOT* use puppet in this method since it may not be available yet
|
1247
|
+
|
1248
|
+
if on(sut, 'rpm -q yum-utils', :accept_all_exit_codes => true).exit_code != 0
|
1249
|
+
on(sut, 'yum -y install yum-utils')
|
1250
|
+
end
|
1251
|
+
|
1252
|
+
if on(sut, 'rpm -q simp-release-community', :accept_all_exit_codes => true).exit_code != 0
|
1253
|
+
on(sut, 'yum -y install "https://download.simp-project.com/simp-release-community.rpm"')
|
1254
|
+
end
|
1255
|
+
|
1256
|
+
to_disable = disable.dup
|
1257
|
+
|
1258
|
+
unless to_disable.empty?
|
1259
|
+
if to_disable.include?('simp')
|
1260
|
+
to_disable.delete('simp')
|
1261
|
+
to_disable << 'simp-community-simp'
|
1220
1262
|
end
|
1221
|
-
}
|
1222
|
-
repo_manifest = ''
|
1223
|
-
repos.each { | repo, metadata|
|
1224
|
-
metadata[:enabled] = disable.include?(repo) ? 0 : 1
|
1225
|
-
repo_manifest << create_yum_resource(repo, metadata)
|
1226
|
-
}
|
1227
|
-
apply_manifest_on(sut, repo_manifest, :catch_failures => true)
|
1228
|
-
end
|
1229
|
-
end
|
1230
1263
|
|
1264
|
+
if to_disable.include?('simp_deps')
|
1265
|
+
to_disable.delete('simp_deps')
|
1266
|
+
to_disable << 'simp-community-epel'
|
1267
|
+
to_disable << 'simp-community-postgres'
|
1268
|
+
to_disable << 'simp-community-puppet'
|
1269
|
+
end
|
1270
|
+
|
1271
|
+
# NOTE: This --enablerepo enables the repos for listing and is inherited
|
1272
|
+
# from YUM. This does not actually "enable" the repos, that would require
|
1273
|
+
# the "--enable" option (from yum-config-manager) :-D.
|
1274
|
+
#
|
1275
|
+
# Note: Certain versions of EL8 do not dump by default and EL7 does not
|
1276
|
+
# have the '--dump' option.
|
1277
|
+
available_repos = on(sut, %{yum-config-manager --enablerepo="*" || yum-config-manager --enablerepo="*" --dump}).stdout.lines.grep(/\A\[(.+)\]\Z/){|x| $1}
|
1278
|
+
|
1279
|
+
invalid_repos = (to_disable - available_repos)
|
1231
1280
|
|
1281
|
+
# Verify that the repos passed to disable are in the list of valid repos
|
1282
|
+
unless invalid_repos.empty?
|
1283
|
+
logger.warn(%{WARN: install_simp_repo - requested repos to disable do not exist on the target system '#{invalid_repos.join("', '")}'.})
|
1284
|
+
end
|
1285
|
+
|
1286
|
+
(to_disable - invalid_repos).each do |repo|
|
1287
|
+
on(sut, %{yum-config-manager --disable "#{repo}"})
|
1288
|
+
end
|
1289
|
+
end
|
1290
|
+
end
|
1291
|
+
end
|
@@ -5,7 +5,7 @@ module Simp::BeakerHelpers
|
|
5
5
|
#
|
6
6
|
# This is done so that we know if some new thing that we're using breaks the
|
7
7
|
# oldest system that we support
|
8
|
-
DEFAULT_PUPPET_AGENT_VERSION = '~>
|
8
|
+
DEFAULT_PUPPET_AGENT_VERSION = '~> 6.0'
|
9
9
|
|
10
10
|
SSG_REPO_URL = ENV['BEAKER_ssg_repo'] || 'https://github.com/ComplianceAsCode/content.git'
|
11
11
|
|
@@ -9,18 +9,18 @@ HOSTS:
|
|
9
9
|
server-el7:
|
10
10
|
roles:
|
11
11
|
- server
|
12
|
-
- default
|
13
12
|
- master
|
13
|
+
- default
|
14
14
|
- el7
|
15
15
|
platform: el-7-x86_64
|
16
16
|
box: centos/7
|
17
17
|
hypervisor: <%= hypervisor %>
|
18
18
|
|
19
|
-
server-
|
19
|
+
server-el8:
|
20
20
|
roles:
|
21
|
-
-
|
22
|
-
platform: el-
|
23
|
-
box: centos/
|
21
|
+
- el8
|
22
|
+
platform: el-8-x86_64
|
23
|
+
box: centos/8
|
24
24
|
hypervisor: <%= hypervisor %>
|
25
25
|
|
26
26
|
CONFIG:
|