beaker-puppet 0.15.0 → 0.15.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/beaker-puppet/install_utils/foss_utils.rb +10 -4
- data/lib/beaker-puppet/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8255b145e80f781db25ff60741e1705eb3c7b3e
|
4
|
+
data.tar.gz: f4daaec756f930f3756124e3af7dca33ba965863
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 366e0bf4b1ef15dd623f8a7c76544ea4fc76195dd3a1b1eef9559e0ba190aedd95a05cf487ae74eddd492cb6f132abc0a056576d31dfd7ca31af96f224b9a1a0
|
7
|
+
data.tar.gz: 1a612e0bc6bb1181f9ee118e37aff99a95037df9b7da4976475874b0761d79e79ec177a2039d587c44bd54b2b107eff326ad079e7408cdc763bad15968a3b6b2
|
@@ -1035,6 +1035,11 @@ module Beaker
|
|
1035
1035
|
end
|
1036
1036
|
scp_to( host, repo, to_path )
|
1037
1037
|
|
1038
|
+
variant, version, arch, codename = host['platform'].to_array
|
1039
|
+
if variant =~ /^ubuntu$/ && version.split('.').first.to_i >= 18
|
1040
|
+
# Allow the use of unsigned repos with Ubuntu 18.04+
|
1041
|
+
on host, "echo 'Acquire::AllowInsecureRepositories \"true\";' > /etc/apt/apt.conf.d/90insecure"
|
1042
|
+
end
|
1038
1043
|
on( host, 'apt-get update' ) if host['platform'] =~ /ubuntu-|debian-|cumulus-|huaweios-/
|
1039
1044
|
nil
|
1040
1045
|
end
|
@@ -1080,6 +1085,11 @@ module Beaker
|
|
1080
1085
|
dev_builds_url = protocol + hostname
|
1081
1086
|
dev_builds_url = opts[:dev_builds_url] if variant =~ /^(fedora|el|centos)$/
|
1082
1087
|
|
1088
|
+
if variant =~ /^ubuntu$/ && version.split('.').first.to_i >= 18
|
1089
|
+
# Allow the use of unsigned repos with Ubuntu 18.04+
|
1090
|
+
on host, "echo 'Acquire::AllowInsecureRepositories \"true\";' > /etc/apt/apt.conf.d/90insecure"
|
1091
|
+
end
|
1092
|
+
|
1083
1093
|
install_repo_configs( host, dev_builds_url, package_name,
|
1084
1094
|
build_version, platform_configs_dir )
|
1085
1095
|
|
@@ -1177,10 +1187,6 @@ module Beaker
|
|
1177
1187
|
if arch== 's390x' || host['hypervisor'] == 'ec2'
|
1178
1188
|
logger.trace("#install_puppet_agent_dev_repo_on: unsupported host #{host} for repo detected. using dev package")
|
1179
1189
|
else
|
1180
|
-
if variant =~ /^ubuntu$/ && version.split('.').first.to_i >= 18
|
1181
|
-
# Allow the use of unsigned repos with Ubuntu 18.04+
|
1182
|
-
on host, "echo 'Acquire::AllowInsecureRepositories \"true\";' > /etc/apt/apt.conf.d/90insecure"
|
1183
|
-
end
|
1184
1190
|
install_puppetlabs_dev_repo( host, 'puppet-agent', puppet_agent_version, nil, opts )
|
1185
1191
|
host.install_package('puppet-agent')
|
1186
1192
|
logger.trace("#install_puppet_agent_dev_repo_on: install_puppetlabs_dev_repo finished")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beaker-puppet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|