beaker-pe 1.8.0 → 1.8.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MzU2YTU0MGFkMGFiZjliMGU4MTQ2NGM5NThkNDBiZTM5NGJhMmIyOQ==
4
+ ZTZmYWJlMDhjOWFmNTkyNGJhODBhY2QyMGQ3Y2M4YjAzNDVlN2UwNQ==
5
5
  data.tar.gz: !binary |-
6
- NzFhYjVmY2NhMjZjMDY3ODM5NDhhMDgxYjU2ZmE4N2YyNmQyZGQwOQ==
6
+ ZTE2NjhlNWYxNTY5Y2VmYjQwZGRjMDMyNzNkOGZjMTE3ZDU3ZGQ2MA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MjA2YWRkMTBhMDg4YjFlNWE2Y2JiYTk1YThhZWU2ZDJmODM1YmQwYmIzN2Mz
10
- ZGEzNDZiNjhhYjcxNDliNzM0YWU2MDYxODZmM2RhNjJiM2FjZTViYjQ1ZjM1
11
- MWVhZDYyYzdmMWNlZjg4ZmY1MzczMWVmNTliYTI2MzhjOTQ5ZWM=
9
+ NmMyMGI4YWM3NjBkNDlhZDZmYWQ0MTkxNmE3ODA3MjI1ZTFmODE2MmJmMzJl
10
+ MjZjYzAyYjY3ZGYyYWQ4NzQ5MGMyOThkYmMwZDc2YWY3YzEzYTM0OWRmMmQ3
11
+ NGJmMzhhODViY2U0YTdlODdiODFiNTBjZTIxNmEwYmFjODE4Yzk=
12
12
  data.tar.gz: !binary |-
13
- MDNlZjMxZDQ3Yzk3ODU1ZDllMTE1MjFmM2M2ZTY2ODk3MmE1NDUyYTc1Y2U3
14
- NmFmYTE0YTU5OWMxZjI4YTAyMDBlMjg3YTFjYzJlNzE2ZDcwZmNlZDBmMTI0
15
- Y2VmN2RiMTJjMGI1MDRlZDNhOGZhMzY3NTI1ZTZhYjIyNjkwMTE=
13
+ OGJmOWU0NGVkMmZlYTdhZjYwNGIzNzA0NGMyOTY5Y2NjODg1YjYxOWFlYWQw
14
+ NGMzMjQyNmFmNzQzYWJjNDAzNDE3YmE3NTVhZDk5NjQ2MTk4M2QwZGMzY2Q1
15
+ YmRmMTMzMTI0MDhiZTMwZmZiMGU3Njg2YzE0ZDQzNzMxZWQyOGY=
data/HISTORY.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # default - History
2
2
  ## Tags
3
- * [LATEST - 30 Dec, 2016 (75d22036)](#LATEST)
3
+ * [LATEST - 30 Dec, 2016 (7a9c2c4a)](#LATEST)
4
+ * [1.8.0 - 30 Dec, 2016 (5a37fef7)](#1.8.0)
4
5
  * [1.7.0 - 20 Dec, 2016 (99e6bbde)](#1.7.0)
5
6
  * [1.6.1 - 22 Nov, 2016 (52e30609)](#1.6.1)
6
7
  * [1.6.0 - 16 Nov, 2016 (0da1b64c)](#1.6.0)
@@ -27,7 +28,23 @@
27
28
  * [0.1.0 - 29 Feb, 2016 (4fc88d8c)](#0.1.0)
28
29
 
29
30
  ## Details
30
- ### <a name = "LATEST">LATEST - 30 Dec, 2016 (75d22036)
31
+ ### <a name = "LATEST">LATEST - 30 Dec, 2016 (7a9c2c4a)
32
+
33
+ * (GEM) update beaker-pe version to 1.8.1 (7a9c2c4a)
34
+
35
+ * (BKR-831) Remove aio_agent_build as version source (#46) (2267d3a2)
36
+
37
+
38
+ ```
39
+ (BKR-831) Remove aio_agent_build as version source (#46)
40
+
41
+ This commit removes the `aio_agent_build` fact as a data source for
42
+ the `get_puppet_agent_version`. If the version is not specified, then
43
+ then only the `aio_agent_version` value is used as a fail over.
44
+ ```
45
+ ### <a name = "1.8.0">1.8.0 - 30 Dec, 2016 (5a37fef7)
46
+
47
+ * (HISTORY) update beaker-pe history for gem release 1.8.0 (5a37fef7)
31
48
 
32
49
  * (GEM) update beaker-pe version to 1.8.0 (75d22036)
33
50
 
@@ -576,11 +576,11 @@ module Beaker
576
576
  end
577
577
 
578
578
  # Gets the puppet-agent version, hopefully from the host or local options.
579
- # Will fall back to reading the `aio_agent_build` property on the master
579
+ # Will fall back to reading the `aio_agent_version` property on the master
580
580
  # if neither of those two options are passed
581
581
  #
582
582
  # @note This method does have a side-effect: if it reads the
583
- # `aio_agent_build` property from master, it will store it in the local
583
+ # `aio_agent_version` property from master, it will store it in the local
584
584
  # options hash so that it won't have to do this more than once.
585
585
  #
586
586
  # @param [Beaker::Host] host Host to get puppet-agent for
@@ -598,9 +598,7 @@ module Beaker
598
598
  facts_result = on(master, 'puppet facts')
599
599
  raise ArgumentError, fail_message if facts_result.exit_code != 0
600
600
  facts_hash = JSON.parse(facts_result.stdout.chomp)
601
- puppet_agent_version = facts_hash['values']['aio_agent_build']
602
- # released masters don't have _build fact, fallback to _version
603
- puppet_agent_version ||= facts_hash['values']['aio_agent_version']
601
+ puppet_agent_version = facts_hash['values']['aio_agent_version']
604
602
  raise ArgumentError, fail_message if puppet_agent_version.nil?
605
603
  logger.warn("#{log_prefix} Read puppet-agent version #{puppet_agent_version} from master")
606
604
  # saving so that we don't have to query the master more than once
@@ -3,7 +3,7 @@ module Beaker
3
3
  module PE
4
4
 
5
5
  module Version
6
- STRING = '1.8.0'
6
+ STRING = '1.8.1'
7
7
  end
8
8
 
9
9
  end
@@ -1355,7 +1355,7 @@ describe ClassMixedWithDSLInstallUtils do
1355
1355
  json_hash = mock_values[:json_hash]
1356
1356
  pa_version = mock_values[:pa_version]
1357
1357
  pa_version ||= 'pa_version_' + rand(10 ** 5).to_s.rjust(5,'0') # 5 digit random number string
1358
- json_hash ||= "{ \"values\": { \"aio_agent_build\": \"#{pa_version}\" }}"
1358
+ json_hash ||= "{ \"values\": { \"aio_agent_version\": \"#{pa_version}\" }}"
1359
1359
 
1360
1360
  allow( subject ).to receive( :master ).and_return( {} )
1361
1361
  result_mock = Object.new
@@ -1377,11 +1377,6 @@ describe ClassMixedWithDSLInstallUtils do
1377
1377
  expect( local_options_hash[:puppet_agent_version] ).to be === pa_version
1378
1378
  end
1379
1379
 
1380
- it 'falls back on aio_agent_version if _build is not available' do
1381
- pa_version = 'your_face_13587'
1382
- test_setup( :json_hash => "{ \"values\": { \"aio_agent_version\": \"#{pa_version}\" }}" )
1383
- expect( subject.get_puppet_agent_version( {} ) ).to be === pa_version
1384
- end
1385
1380
  end
1386
1381
 
1387
1382
  context 'failures' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker-pe
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppetlabs