beaker-pe 1.5.0 → 1.6.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 +8 -8
- data/HISTORY.md +60 -2
- data/MAINTAINERS +38 -0
- data/README.md +21 -0
- data/lib/beaker-pe/install/pe_utils.rb +5 -1
- data/lib/beaker-pe/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MzM1MzU5ODE2MzczZmI2YjY1NDcxZWZjNjVmMzY0ZmYwMzU4MmM4NA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
MDdhOTQ0YjUyMmIzZjMzNmQ3OGIwZjRiZTE5MWNkODM1N2NkMDQxMQ==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
Y2Q4MDJmYmUyNjFiYWQ2NjZhMDFjZGExNDAwMWFiOGFmM2RlZTczYmMzOGM0
|
|
10
|
+
MzMzMWEzMDkwNDYwNWUxNjI2MzNmZjk3OWE4MDBlYWJmYWI1MGM3YzY1Zjk5
|
|
11
|
+
ZDk1NmViOGIwMzI1OWNhMDZhYzg4ZGEyZDRhMjE0YTIwMTdiMjk=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
YmM5NmY0Nzk3NjQzNDU2MmZmMGRlMzFmOTk1YWU0MmY4NzliMTU4YTRlZTJi
|
|
14
|
+
YmFlYzI0MTk1ZTBmYTNiZGQxOGViMWFjNjUyZGI4MGU2MzgzYjkyZGYzOWI3
|
|
15
|
+
MWEwMzQ1ZGJmNWMwMmZlOGRlZTNmOWUzM2M5NWIzYzZkMGU3MDE=
|
data/HISTORY.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# default - History
|
|
2
2
|
## Tags
|
|
3
|
-
* [LATEST -
|
|
3
|
+
* [LATEST - 16 Nov, 2016 (9d6d30e0)](#LATEST)
|
|
4
|
+
* [1.5.0 - 7 Nov, 2016 (24d78992)](#1.5.0)
|
|
4
5
|
* [1.4.0 - 11 Oct, 2016 (6becdbb2)](#1.4.0)
|
|
5
6
|
* [1.3.0 - 6 Oct, 2016 (97f781bb)](#1.3.0)
|
|
6
7
|
* [1.2.0 - 4 Oct, 2016 (7362ab78)](#1.2.0)
|
|
@@ -23,7 +24,64 @@
|
|
|
23
24
|
* [0.1.0 - 29 Feb, 2016 (4fc88d8c)](#0.1.0)
|
|
24
25
|
|
|
25
26
|
## Details
|
|
26
|
-
### <a name = "LATEST">LATEST -
|
|
27
|
+
### <a name = "LATEST">LATEST - 16 Nov, 2016 (9d6d30e0)
|
|
28
|
+
|
|
29
|
+
* (GEM) update beaker-pe version to 1.6.0 (9d6d30e0)
|
|
30
|
+
|
|
31
|
+
* Merge pull request #40 from jpartlow/issue/master/pe-18516-always-set-pe-conf-for-upgrades (ace43aca)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
Merge pull request #40 from jpartlow/issue/master/pe-18516-always-set-pe-conf-for-upgrades
|
|
36
|
+
|
|
37
|
+
(PE-18516,PE-18170) Temporarily set pe.conf when upgrading to Flanders
|
|
38
|
+
```
|
|
39
|
+
* (PE-18516,PE-18170) Temporarily set pe.conf when upgrading to Flanders (9df782ee)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
(PE-18516,PE-18170) Temporarily set pe.conf when upgrading to Flanders
|
|
44
|
+
|
|
45
|
+
At the moment, MEEP does not create a 2.0 pe.conf when recovering
|
|
46
|
+
configuration for an upgrade. This is preventing all upgrade tests from
|
|
47
|
+
PE >= 2016.2 (when meep was introduced) to PE >= 2017.1 from completing
|
|
48
|
+
because meep ends up using a 1.0 pe.conf that has no node_roles. Without
|
|
49
|
+
the node_roles information, the node is not considered infrastructure,
|
|
50
|
+
and meep's enc returns no classes for it, so nothing happens in the
|
|
51
|
+
upgrade apply.
|
|
52
|
+
|
|
53
|
+
This is not currently a problem upgrading from < 2016.2 because
|
|
54
|
+
beaker-pe is providing the beaker-answers pe.conf in those cases.
|
|
55
|
+
|
|
56
|
+
To work around this, I've added a check, just if we are upgrading to a
|
|
57
|
+
Flanders version, which supplies the beaker-answers generated pe.conf.
|
|
58
|
+
|
|
59
|
+
This patch is just intended to get upgrades from earlier meep versions
|
|
60
|
+
working in CI. When we get to PE-18170 (also scheduled for Flanders)
|
|
61
|
+
we'll work on improving recover configuration to generate a 2.0 pe.conf,
|
|
62
|
+
with the goal being that beaker-answers should not need to provide
|
|
63
|
+
anything for pe.conf for Flanders upgrades unless some additional
|
|
64
|
+
parameters were added in the beaker configuration.
|
|
65
|
+
```
|
|
66
|
+
* Merge pull request #38 from kevpl/docs_README_fill (d8546812)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
```
|
|
70
|
+
Merge pull request #38 from kevpl/docs_README_fill
|
|
71
|
+
|
|
72
|
+
(MAINT) fill README doc & MAINTAINERS
|
|
73
|
+
```
|
|
74
|
+
* (MAINT) fill README doc & MAINTAINERS (23a40aba)
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
```
|
|
78
|
+
(MAINT) fill README doc & MAINTAINERS
|
|
79
|
+
|
|
80
|
+
[skip ci]
|
|
81
|
+
```
|
|
82
|
+
### <a name = "1.5.0">1.5.0 - 7 Nov, 2016 (24d78992)
|
|
83
|
+
|
|
84
|
+
* (HISTORY) update beaker-pe history for gem release 1.5.0 (24d78992)
|
|
27
85
|
|
|
28
86
|
* (GEM) update beaker-pe version to 1.5.0 (614c736b)
|
|
29
87
|
|
data/MAINTAINERS
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"file_format": "This MAINTAINERS file format is described at http://pup.pt/maintainers",
|
|
4
|
+
"issues": "https://tickets.puppet.com/browse/PE",
|
|
5
|
+
"internal_list": "https://groups.google.com/a/puppet.com/forum/?hl=en#!forum/discuss-organizational-scale",
|
|
6
|
+
"people": [
|
|
7
|
+
{
|
|
8
|
+
"github": "kevpl",
|
|
9
|
+
"email": "ki@puppet.com",
|
|
10
|
+
"name": "Kevin Imber"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"github": "tvpartytonight",
|
|
14
|
+
"email": "tv@puppet.com",
|
|
15
|
+
"name": "Tony Vu"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"github": "jpartlow",
|
|
19
|
+
"email": "joshua.partlow@puppet.com",
|
|
20
|
+
"name": "Josh Partlow"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"github": "demophoon",
|
|
24
|
+
"email": "britt@puppet.com",
|
|
25
|
+
"name": "Britt Gresham"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"github": "highb",
|
|
29
|
+
"email": "brandon.high@puppet.com",
|
|
30
|
+
"name": "Brandon High"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"github": "ericwilliamson",
|
|
34
|
+
"email": "eric.williamson@puppet.com",
|
|
35
|
+
"name": "Eric Williamson"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
data/README.md
CHANGED
|
@@ -11,6 +11,13 @@ The PE Beaker library contains all PE-specific
|
|
|
11
11
|
|
|
12
12
|
that help someone acceptance test PE easier with Beaker.
|
|
13
13
|
|
|
14
|
+
# Documentation
|
|
15
|
+
|
|
16
|
+
- [Rubydocs](http://www.rubydoc.info/github/puppetlabs/beaker-pe) contain the
|
|
17
|
+
technical reference for APIs and other aspects of beaker-pe. They describe
|
|
18
|
+
how it works and how to use it but assume that you have a basic understanding
|
|
19
|
+
of key concepts.
|
|
20
|
+
|
|
14
21
|
# Upgrading from 0.y to 1.y?
|
|
15
22
|
|
|
16
23
|
If you've used beaker-pe previously (during the 0.y versions), you'll
|
|
@@ -51,3 +58,17 @@ task. It should be noted that this is a shortcut for the `test:acceptance:quick`
|
|
|
51
58
|
task, which is named as such because it uses no pre-suite. This uses a default
|
|
52
59
|
provided hosts file for acceptance under the `acceptance/config` directory. If
|
|
53
60
|
you'd like to provide your own hosts file, set the `CONFIG` environment variable.
|
|
61
|
+
|
|
62
|
+
# Release
|
|
63
|
+
|
|
64
|
+
To release new versions, we use a
|
|
65
|
+
[Jenkins job](https://jenkins-qe.delivery.puppetlabs.net/job/qe_beaker-pe_btc-rls/)
|
|
66
|
+
(access to internal infrastructure will be required to view job).
|
|
67
|
+
|
|
68
|
+
To release a new version (from the master branch), you'll need to just provide
|
|
69
|
+
a new beaker-pe version number to the job, and you're off to the races.
|
|
70
|
+
|
|
71
|
+
# Questions
|
|
72
|
+
|
|
73
|
+
If you have questions, please reach out to our
|
|
74
|
+
[MAINTAINERS](MAINTAINERS).
|
|
@@ -123,9 +123,13 @@ module Beaker
|
|
|
123
123
|
pe_cmd += " -y"
|
|
124
124
|
end
|
|
125
125
|
|
|
126
|
+
# This is a temporary workaround for PE-18516, because MEEP does not yet create a 2.0
|
|
127
|
+
# pe.conf when recovering configuration in Flanders. This will be fixed in PE-18170.
|
|
128
|
+
if opts[:type] == :upgrade && !version_is_less(host['pe_upgrade_ver'], '2017.1.0')
|
|
129
|
+
"#{pe_cmd} #{host['pe_installer_conf_setting']}"
|
|
126
130
|
# If there are no answer overrides, and we are doing an upgrade from 2016.2.0,
|
|
127
131
|
# we can assume there will be a valid pe.conf in /etc that we can re-use.
|
|
128
|
-
|
|
132
|
+
elsif opts[:answers].nil? && opts[:custom_answers].nil? && opts[:type] == :upgrade && !version_is_less(opts[:HOSTS][host.name][:pe_ver], '2016.2.0')
|
|
129
133
|
"#{pe_cmd}"
|
|
130
134
|
else
|
|
131
135
|
"#{pe_cmd} #{host['pe_installer_conf_setting']}"
|
data/lib/beaker-pe/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: beaker-pe
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Puppetlabs
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-11-
|
|
11
|
+
date: 2016-11-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|
|
@@ -178,6 +178,7 @@ files:
|
|
|
178
178
|
- Gemfile
|
|
179
179
|
- HISTORY.md
|
|
180
180
|
- LICENSE
|
|
181
|
+
- MAINTAINERS
|
|
181
182
|
- README.md
|
|
182
183
|
- Rakefile
|
|
183
184
|
- acceptance/config/nodes/vagrant-ubuntu-1404.yml
|