beaker-answers 0.14.0 → 0.15.0

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
- ZmJlYjRlM2IyOTA2MjZlNjk3NzY4NWI4NTZkZDFlZTU2NzBkYmI5ZQ==
4
+ MTk5NDU1MTE3NTUxOGE2YmMzZmYyODIxMWU5ZDUyZGU0OWFkMmQ5Yg==
5
5
  data.tar.gz: !binary |-
6
- OTlhZmQyZDVhNzZjYmZjMmE5NzFhZmVkMThmZDYzOTFlMjY0Y2UzMg==
6
+ YWY0NDdkZTQ5NTBiYTdiYjM0ODMzYjQ5MjljZjEwZGYxMTA5YjZjNw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MTg3ZWNiZDY1MWI3NThlMzBmODU2ZmIyYjJhMWQ4ZGU5YTJhMWVlYjFjZjE4
10
- Y2I3MTA1ODc2OGViZjUxYTI4NDI5MGU3M2FkMjUxZjAwMWY2NzkzMTZmYzQ0
11
- ZWJjZTMzMjgzMjhmZGMzYTU5Zjg1ZDBmZTZiYzE1ZTA2ODc0Yzk=
9
+ ZTc3MGI4OTgyZmY4ZGNkMWViZDEyM2M4ZjJkNmUxNGRhMjAwMWM1YjhlMjg4
10
+ NjI0M2IzY2RjOWUwMGU4NzI2ZGYxZDFkZjhiNmJmMzc0Mjg4MzY4M2JhN2Ez
11
+ Mzk2ZDVlZTc0MThkMzFiOWFjMmUzZTBmMDRlZTZiZDI1OTczNjM=
12
12
  data.tar.gz: !binary |-
13
- ZjUxZmIwMmE5Nzk4ZDcwODdiY2M1YzMwOWYyZmNkMTQyZDg5M2ViNzU2YjIy
14
- MjgzMWI3NzM0YmZjMTdhODZlZWFlZDVlZTQzMmRjM2QwYzIyOTU3ODY2YmEx
15
- MjcyNmEyNjU5NGRjNDUwNmEwMDRkYzJmYTk5YzE2OTg0NzZlODE=
13
+ NjVlZDBjZDRiNmIwODNkMGZlMmU3ZGE1MDA4ODcwNWExZTBiM2Y3NjI1YjUz
14
+ MTQ5NjA2MjU5MjAxNmIwOGQ0NDQ3OWU5ZGNjZTViNWU5OGVkNmNmZWE0YjM3
15
+ NWE3YzFhZDBlNDczOGYyZGEzZGYzNTM4OWNhZWFkYTNhNjk2NDU=
data/HISTORY.md CHANGED
@@ -1,6 +1,7 @@
1
- # default - History
1
+ # worker - History
2
2
  ## Tags
3
- * [LATEST - 19 Jan, 2017 (2aaa08e1)](#LATEST)
3
+ * [LATEST - 22 Mar, 2017 (9b17618d)](#LATEST)
4
+ * [0.14.0 - 19 Jan, 2017 (290c75b2)](#0.14.0)
4
5
  * [0.13.0 - 9 Nov, 2016 (729ddd0b)](#0.13.0)
5
6
  * [0.12.0 - 28 Oct, 2016 (b18d96b7)](#0.12.0)
6
7
  * [0.11.0 - 22 Aug, 2016 (39591691)](#0.11.0)
@@ -25,7 +26,44 @@
25
26
  * [0.1.0 - 26 Aug, 2015 (ef47972d)](#0.1.0)
26
27
 
27
28
  ## Details
28
- ### <a name = "LATEST">LATEST - 19 Jan, 2017 (2aaa08e1)
29
+ ### <a name = "LATEST">LATEST - 22 Mar, 2017 (9b17618d)
30
+
31
+ * (GEM) update beaker-answers version to 0.15.0 (9b17618d)
32
+
33
+ * Merge pull request #32 from demophoon/fix/master/pe-19948-windows-platform-fix (16a8f697)
34
+
35
+
36
+ ```
37
+ Merge pull request #32 from demophoon/fix/master/pe-19948-windows-platform-fix
38
+
39
+ (PE-19948) Fix pe_repo platform class for windows
40
+ ```
41
+ * (PE-19948) Update spec tests to catch windows platform regressions (221464d0)
42
+
43
+
44
+ ```
45
+ (PE-19948) Update spec tests to catch windows platform regressions
46
+
47
+ This commit modifies the split configuration for generating pe.conf so
48
+ that it includes a windows agent.
49
+ ```
50
+ * (PE-19948) Fix pe_repo platform class for windows (a878195d)
51
+
52
+
53
+ ```
54
+ (PE-19948) Fix pe_repo platform class for windows
55
+
56
+ Before this commit the pe_repo platform class that would be generated
57
+ for all windows platforms would be incorrect as there is only a single
58
+ windows puppet agent. When this method would generate the list of
59
+ platform classes windows would be incorrect.
60
+
61
+ This commit ensures that when windows is a platform on a host we return
62
+ one of the two possible windows pe_repo platform classes.
63
+ ```
64
+ ### <a name = "0.14.0">0.14.0 - 19 Jan, 2017 (290c75b2)
65
+
66
+ * (HISTORY) update beaker-answers history for gem release 0.14.0 (290c75b2)
29
67
 
30
68
  * (GEM) update beaker-answers version to 0.14.0 (2aaa08e1)
31
69
 
@@ -121,7 +121,11 @@ module BeakerAnswers
121
121
 
122
122
  # Collect a uniq array of all host platforms modified to pe_repo class format
123
123
  platforms = hosts.map do |h|
124
- h['platform'].gsub(/-/, '_').gsub(/\./,'')
124
+ platform = h['platform']
125
+ if platform =~ /^windows.*/
126
+ platform = platform =~ /64/ ? 'windows_x86_64' : 'windows_i386'
127
+ end
128
+ platform.gsub(/-/, '_').gsub(/\./,'')
125
129
  end.uniq
126
130
  pe_conf["agent_platforms"] = platforms
127
131
 
@@ -1,5 +1,5 @@
1
1
  module BeakerAnswers
2
2
  module Version
3
- STRING = '0.14.0'
3
+ STRING = '0.15.0'
4
4
  end
5
5
  end
@@ -22,7 +22,7 @@ describe 'BeakerAnswers::PeConf' do
22
22
  end
23
23
 
24
24
  context 'split' do
25
- let(:host_count) { 5 }
25
+ let(:host_count) { 6 }
26
26
  let(:hosts) do
27
27
  basic_hosts[0]['roles'] = ['master', 'agent']
28
28
  basic_hosts[0]['platform'] = 'el-6-x86_64'
@@ -34,6 +34,8 @@ describe 'BeakerAnswers::PeConf' do
34
34
  basic_hosts[3]['platform'] = 'el-7-x86_64'
35
35
  basic_hosts[4]['roles'] = ['agent']
36
36
  basic_hosts[4]['platform'] = 'ubuntu-14.04-amd64'
37
+ basic_hosts[5]['roles'] = ['agent']
38
+ basic_hosts[5]['platform'] = 'windows-2016-64'
37
39
  basic_hosts
38
40
  end
39
41
 
@@ -86,7 +88,8 @@ describe 'BeakerAnswers::PeConf' do
86
88
  "agent_platforms" => match_array([
87
89
  'el_6_x86_64',
88
90
  'el_7_x86_64',
89
- 'ubuntu_1404_amd64'
91
+ 'ubuntu_1404_amd64',
92
+ 'windows_x86_64',
90
93
  ]),
91
94
  "meep_schema_version" => "2.0",
92
95
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker-answers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppetlabs
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-01-19 00:00:00.000000000 Z
12
+ date: 2017-03-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec