beaker-puppet_install_helper 0.9.1 → 0.9.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ec9fa976af3946c77519c2a70ce1432db3b0c69b
4
- data.tar.gz: 595ab848ddc5c34ebfdc8a7ebfe44aa62630b033
3
+ metadata.gz: e59c738347888de465454b206af674667617829c
4
+ data.tar.gz: 92cb8764cf7459094e8e35f2b22b8fa6e144a1fd
5
5
  SHA512:
6
- metadata.gz: ff0b6ed2432832542325c4ee19c0de9dbc15e245ec322afcde3e0f652a62e4b9a814e74b96e1b2a98a41c9124ee7e269f073eb643005dbae7716215ee77023dd
7
- data.tar.gz: 4c28e0ffc4ed913c231d77482b8df9393843e6d6eff4ecc998a428aac911411543a0bc6dcad854c2ea5cedcb6585561d2f1e23a0952e32843586ca3bb69f903c
6
+ metadata.gz: 02641d78eb28596a1055d289237c96128d115aeeb683a18db5e6f16eafa319229d31da988bfee11bee57338407ffb8c01d3d2939d37cd8359040c2aeb0768f38
7
+ data.tar.gz: 6d0ce9d0c14c0647d8186b432597f59d8765c2d9331918d199534ce1d37b4d07544180f97691a7bc33a123d1a7ec0fd0d6b181992a3b0ba982417b3a4be45db9
data/CHANGELOG.md CHANGED
@@ -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.2]
8
+ ### Fixed
9
+ - Fix debian nightly collection installation.
10
+
7
11
  ## [0.9.1]
8
12
  ### Fixed
9
13
  - Pass `BEAKER_PE_VER` to `install_pe_on()` for the PE version rather than `BEAKER_PUPPET_AGENT_VERSION` or `PUPPET_INSTALL_VERSION`
@@ -65,6 +69,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
65
69
  ### Changed
66
70
  - Add solaris for installing CA certs as well.
67
71
 
72
+ [0.9.2]: https://github.com/puppetlabs/beaker-puppet_install_helper/compare/0.9.1...0.9.2
68
73
  [0.9.1]: https://github.com/puppetlabs/beaker-puppet_install_helper/compare/0.9.0...0.9.1
69
74
  [0.9.0]: https://github.com/puppetlabs/beaker-puppet_install_helper/compare/0.8.0...0.9.0
70
75
  [0.8.0]: https://github.com/puppetlabs/beaker-puppet_install_helper/compare/0.7.1...0.8.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.1'
3
+ s.version = '0.9.2'
4
4
  s.authors = ['Puppetlabs']
5
5
  s.email = ['hunter@puppet.com']
6
6
  s.homepage = 'https://github.com/puppetlabs/beaker-puppet_install_helper'
@@ -84,6 +84,8 @@ module Beaker::PuppetInstallHelper
84
84
  end
85
85
  when 'agent'
86
86
  if find_agent_sha.nil?
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$/
87
89
  install_puppet_agent_on(hosts, options.merge(version: version))
88
90
  else
89
91
  opts = options.merge(puppet_agent_sha: find_agent_sha,
@@ -165,7 +165,11 @@ describe 'Beaker::PuppetInstallHelper' do
165
165
  context "with #{collection} collection" do
166
166
  it "installs puppet-agent from #{collection} repo" do
167
167
  ENV['BEAKER_PUPPET_COLLECTION'] = collection
168
- expect(subject).to receive(:install_puppet_agent_on).with(hosts, version: nil)
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)
170
+ else
171
+ expect(subject).to receive(:install_puppet_agent_on).with(hosts, version: nil)
172
+ end
169
173
  expect(subject).to receive(:add_aio_defaults_on).with(hosts)
170
174
  expect(subject).to receive(:add_puppet_paths_on).with(hosts)
171
175
  subject.run_puppet_install_helper_on(hosts)
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.1
4
+ version: 0.9.2
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-20 00:00:00.000000000 Z
11
+ date: 2018-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec