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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 77ebe95a8532d7186326306367ee373a240b2557
4
- data.tar.gz: f9bcfc9d46af18526d7b103759f9cc61d8a5413c
3
+ metadata.gz: 3bddae021974d38725e210d663444a466d7ca34d
4
+ data.tar.gz: 82fb093d087111109630e6c5cd2eb09cd14ee756
5
5
  SHA512:
6
- metadata.gz: b569d0795780967e3ea7429ad05c31e14ca389d67c750f31b9d693e46a46617f9f9738c3d3cc38f501cdf90d19b4f2dd077e491bebd48ce2a7bdfdc0e0d85073
7
- data.tar.gz: 001f1315f8991e1fd4125a72ab400b5aa91828e1b6c09797a51008296d63963c9c0fd571adf8c7bcee51f6672e58686484f55c6ed216358f7799cc6b6061dc9c
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
@@ -1,3 +1,3 @@
1
1
  module BeakerPuppet
2
- VERSION = '1.18.1'
2
+ VERSION = '1.18.2'
3
3
  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.1
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-16 00:00:00.000000000 Z
11
+ date: 2019-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec