beaker-puppet_install_helper 0.9.2 → 0.9.3

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: e59c738347888de465454b206af674667617829c
4
- data.tar.gz: 92cb8764cf7459094e8e35f2b22b8fa6e144a1fd
3
+ metadata.gz: 514415c55ce042a0bdaf5097cce44b7c0866f2c7
4
+ data.tar.gz: e42ae3649c24399e6d465303f73a2edb9126a937
5
5
  SHA512:
6
- metadata.gz: 02641d78eb28596a1055d289237c96128d115aeeb683a18db5e6f16eafa319229d31da988bfee11bee57338407ffb8c01d3d2939d37cd8359040c2aeb0768f38
7
- data.tar.gz: 6d0ce9d0c14c0647d8186b432597f59d8765c2d9331918d199534ce1d37b4d07544180f97691a7bc33a123d1a7ec0fd0d6b181992a3b0ba982417b3a4be45db9
6
+ metadata.gz: ad8ce92ea287febf86669f5eacc3194007cb9b1f3ad3db726fa52078b7c0d3bb47934a7e7e53ae77bd33b35c11ba408fe2e1a5761876b6a0727009cb1a32bc7a
7
+ data.tar.gz: 470c62bc205b43d623854895abb8f98d3c140af324e0144a5d11e9b1f50c50f16c20b6258547d82e57ce333626e601645247e87f646d60b53afb888d44bc0df9
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
+ ## [0.9.3]
8
+ ### Fixed
9
+ - Windows needs to use nightlies.puppet.com for nightly builds because the nightlies are not published to downloads.puppet.com
10
+
7
11
  ## [0.9.2]
8
12
  ### Fixed
9
13
  - Fix debian nightly collection installation.
@@ -69,6 +73,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
69
73
  ### Changed
70
74
  - Add solaris for installing CA certs as well.
71
75
 
76
+ [0.9.3]: https://github.com/puppetlabs/beaker-puppet_install_helper/compare/0.9.2...0.9.3
72
77
  [0.9.2]: https://github.com/puppetlabs/beaker-puppet_install_helper/compare/0.9.1...0.9.2
73
78
  [0.9.1]: https://github.com/puppetlabs/beaker-puppet_install_helper/compare/0.9.0...0.9.1
74
79
  [0.9.0]: https://github.com/puppetlabs/beaker-puppet_install_helper/compare/0.8.0...0.9.0
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'beaker-puppet_install_helper'
3
- s.version = '0.9.2'
3
+ s.version = '0.9.3'
4
4
  s.authors = ['Puppetlabs']
5
5
  s.email = ['hunter@puppet.com']
6
6
  s.homepage = 'https://github.com/puppetlabs/beaker-puppet_install_helper'
@@ -83,9 +83,13 @@ module Beaker::PuppetInstallHelper
83
83
  end
84
84
  end
85
85
  when 'agent'
86
- if find_agent_sha.nil?
86
+ if ENV['BEAKER_PUPPET_COLLECTION'] =~ /-nightly$/
87
87
  # Workaround for RE-10734
88
- options[:release_apt_repo_url] = "http://apt.puppetlabs.com/#{ENV['BEAKER_PUPPET_COLLECTION']}" if ENV['BEAKER_PUPPET_COLLECTION'] =~ /-nightly$/
88
+ options[:release_apt_repo_url] = "http://apt.puppetlabs.com/#{ENV['BEAKER_PUPPET_COLLECTION']}"
89
+ options[:win_download_url] = 'http://nightlies.puppet.com/downloads/windows'
90
+ options[:mac_download_url] = 'http://nightlies.puppet.com/downloads/mac'
91
+ end
92
+ if find_agent_sha.nil?
89
93
  install_puppet_agent_on(hosts, options.merge(version: version))
90
94
  else
91
95
  opts = options.merge(puppet_agent_sha: find_agent_sha,
@@ -166,7 +166,12 @@ describe 'Beaker::PuppetInstallHelper' do
166
166
  it "installs puppet-agent from #{collection} repo" do
167
167
  ENV['BEAKER_PUPPET_COLLECTION'] = collection
168
168
  if collection =~ /-nightly$/
169
- expect(subject).to receive(:install_puppet_agent_on).with(hosts, release_apt_repo_url: "http://apt.puppetlabs.com/puppet6-nightly", version: nil)
169
+ expect(subject).to receive(:install_puppet_agent_on).with(
170
+ hosts,
171
+ release_apt_repo_url: "http://apt.puppetlabs.com/puppet6-nightly",
172
+ win_download_url: "http://nightlies.puppet.com/downloads/windows",
173
+ mac_download_url: "http://nightlies.puppet.com/downloads/mac",
174
+ version: nil)
170
175
  else
171
176
  expect(subject).to receive(:install_puppet_agent_on).with(hosts, version: nil)
172
177
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker-puppet_install_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppetlabs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-30 00:00:00.000000000 Z
11
+ date: 2018-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec