beaker-puppet 1.18.1 → 1.18.2
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 +4 -1
- 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: 3bddae021974d38725e210d663444a466d7ca34d
|
4
|
+
data.tar.gz: 82fb093d087111109630e6c5cd2eb09cd14ee756
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ccdf72c3ec1c3dee8b7c19684c49b9ca22296032738443bad168b020c55e45dc96578e31f174eb8411ed2a76e9034841a6304e50845df5512b7ff03428d1bd8b
|
7
|
+
data.tar.gz: f9e7bde883253c36e29223a5f4eeb6ad499ddbefb846fc71592d6c7847ab936e487969db7cf642230539e54bf99ff0f98fdbfa16708113510fc70d3635155bbe
|
@@ -67,8 +67,11 @@ module Beaker
|
|
67
67
|
end
|
68
68
|
|
69
69
|
# @param [Host] A beaker host
|
70
|
-
# @return [Boolean] Whether Puppet's internal builds are accessible from the host
|
70
|
+
# @return [Boolean] Whether Puppet's internal builds are accessible from the host /
|
71
|
+
# true for puppet amazon platfroms
|
71
72
|
def dev_builds_accessible_on?(host, url = FOSS_DEFAULT_DOWNLOAD_URLS[:dev_builds_url])
|
73
|
+
return true if host.host_hash[:template] =~ /^amazon-*/ && host.hostname =~ /.puppet.net$/
|
74
|
+
|
72
75
|
result = on(host, %(curl -fI "#{url}"), accept_all_exit_codes: true)
|
73
76
|
return result.exit_code.zero?
|
74
77
|
end
|
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: 1.18.
|
4
|
+
version: 1.18.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|