beaker 2.18.2 → 2.18.3

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZjJkOGY3MjE3NTZiNGQyN2UzNWY3ODU0NGJjMmU0NGZiN2U2OTRmMQ==
4
+ YzBiZjY0ZDgwNGM0ZGQyYTkwMDdiYTg0YWEzZTE0YWRjOGQ3MzVlMA==
5
5
  data.tar.gz: !binary |-
6
- NTZkMTMzZWZiZTFlYjI4Y2RkYWRlMWIwNGI1NDRmNGNlZGNlYTdiNg==
6
+ MjBmNmQ1M2MxOTRhNDg4MDRhZjhiNzNjNDhjNjE1ZGU5M2FhODQxMQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MGQzZDcxNmVmODU0YTY0MjBmMjViYjNkM2I5NmY1YjQ5M2YyZmE3OGUwNjEx
10
- OGFhNjcwNDdlYzY2YjRlNWJkNjZjNGUyYTRmMGQwZmM4ODU3Y2MxMDg5NmMz
11
- MGMzZGMzY2ZlYzQyZmYzYzI4MTEwZWYxMWU1NmZiYjAxNWMyOTg=
9
+ ZTViZWJlNmZkNDZmMDA3MTUyYWE4MzJlMzhjMWU3ODBjNjkxMzNmNzVlYzA1
10
+ ZDI4ZjNhN2I3ODM2MmU2ZDE3NDk1YTQ0MDgwZjY3NjgwNWQyZjM5ZDVmYjJi
11
+ MWY0OWExYTdiYTA4ZTQ0NjBkMWFjOTJmOGVhYTBkZDZjM2UzOGM=
12
12
  data.tar.gz: !binary |-
13
- NDg1MjMyNjljZGYxNDFkMDI5YWI0NzUzODI0ZDg3ZGM2Y2M2MjE4YWJjNzFh
14
- ZjI3ZTI3ZTg1YTIzZDAzY2ZkYzQxMGM1OWZmMWUyNDMwYjRhODZmMjkzM2Vk
15
- NjIwNDY3MDExOTUxMTE1MDRiMjVkMDk3YzY1Y2RhZjQwYzhjOTc=
13
+ OTljMTkxNDY3MzFiMTdkYWI2YWVmYzEwMjRiOGJhNmU0YzEzZGFhZGI4ZWEz
14
+ MzQ5NzA3M2NiMGQwZjVjZjAwZGY1MmE5ZGQ1M2IzZDYxYmUxOTQ0YTE5NzRh
15
+ ZmRjNmVkODVmMTQzZTVmZDgzZGM4YmYwZDkyZTVkYmNkYzFlMGY=
data/HISTORY.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # default - History
2
2
  ## Tags
3
- * [LATEST - 27 Jul, 2015 (15c0496b)](#LATEST)
3
+ * [LATEST - 28 Jul, 2015 (c0553c0c)](#LATEST)
4
+ * [2.18.2 - 27 Jul, 2015 (c84f6f23)](#2.18.2)
4
5
  * [2.18.1 - 14 Jul, 2015 (6a82f99f)](#2.18.1)
5
6
  * [2.18.0 - 13 Jul, 2015 (e018f2fc)](#2.18.0)
6
7
  * [2.17.0 - 10 Jul, 2015 (aaac4771)](#2.17.0)
@@ -89,7 +90,23 @@
89
90
  * [pe1.2 - 6 Sep, 2011 (ba3dadd2)](#pe1.2)
90
91
 
91
92
  ## Details
92
- ### <a name = "LATEST">LATEST - 27 Jul, 2015 (15c0496b)
93
+ ### <a name = "LATEST">LATEST - 28 Jul, 2015 (c0553c0c)
94
+
95
+ * (GEM) update beaker version to 2.18.3 (c0553c0c)
96
+
97
+ * Merge pull request #908 from kevpl/bkr424_windows_doubleslash (cec8965d)
98
+
99
+
100
+ ```
101
+ Merge pull request #908 from kevpl/bkr424_windows_doubleslash
102
+
103
+ (BKR-424) eliminated extra '/' on windows download URL
104
+ ```
105
+ * (BKR-424) eliminated extra '/' on windows download URL (6b9735e0)
106
+
107
+ ### <a name = "2.18.2">2.18.2 - 27 Jul, 2015 (c84f6f23)
108
+
109
+ * (HISTORY) update beaker history for gem release 2.18.2 (c84f6f23)
93
110
 
94
111
  * (GEM) update beaker version to 2.18.2 (15c0496b)
95
112
 
@@ -1181,7 +1181,7 @@ module Beaker
1181
1181
  # - we do not have install_32 set on host
1182
1182
  # - we do not have install_32 set globally
1183
1183
  arch_suffix = should_install_64bit ? '64' : '86'
1184
- release_path += "/windows/"
1184
+ release_path += "/windows"
1185
1185
  release_file = "/puppet-agent-x#{arch_suffix}.msi"
1186
1186
  download_file = "puppet-agent-x#{arch_suffix}.msi"
1187
1187
  when /^osx$/
@@ -1,5 +1,5 @@
1
1
  module Beaker
2
2
  module Version
3
- STRING = '2.18.2'
3
+ STRING = '2.18.3'
4
4
  end
5
5
  end
@@ -832,4 +832,37 @@ describe ClassMixedWithDSLInstallUtils do
832
832
  end
833
833
  end
834
834
  end
835
+
836
+ describe '#install_puppet_agent_pe_promoted_repo_on' do
837
+ let( :package_name ) { 'puppet-agent' }
838
+ let( :platform ) { @platform || 'other' }
839
+ let( :host ) do
840
+ FakeHost.create( 'fakvm', platform, opts )
841
+ end
842
+
843
+ before :each do
844
+ allow( subject ).to receive( :configure_foss_defaults_on ).and_return( true )
845
+ end
846
+
847
+ def test_fetch_http_file_no_ending_slash(platform)
848
+ @platform = platform
849
+ allow( subject ).to receive( :scp_to )
850
+
851
+ expect( subject ).to receive( :fetch_http_file ).with( /[^\/]\z/, anything, anything )
852
+ subject.install_puppet_agent_pe_promoted_repo_on( host, opts )
853
+ end
854
+
855
+ context 'on windows' do
856
+
857
+ it 'calls fetch_http_file with no ending slash' do
858
+ test_fetch_http_file_no_ending_slash( 'windows-7-x86_64' )
859
+ end
860
+
861
+ end
862
+
863
+ it 'calls fetch_http_file with no ending slash' do
864
+ test_fetch_http_file_no_ending_slash( 'debian-5-x86_64' )
865
+ end
866
+
867
+ end
835
868
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.18.2
4
+ version: 2.18.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppetlabs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-27 00:00:00.000000000 Z
11
+ date: 2015-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec