vagrant-pe_build 0.16.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +6 -5
- data/CHANGELOG +14 -0
- data/Gemfile +1 -4
- data/lib/pe_build/provisioner/pe_agent.rb +14 -1
- data/lib/pe_build/release.rb +2 -1
- data/lib/pe_build/release/2016_4.rb +3 -0
- data/lib/pe_build/release/2016_5.rb +30 -0
- data/lib/pe_build/version.rb +1 -1
- data/templates/answers/master-2016.2.x.conf.erb +1 -0
- data/templates/locales/en.yml +7 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8df34ff0901421c0364a1eacbb3e7e7d623407e
|
4
|
+
data.tar.gz: 9988094943b806e881e7dd85862965c204116676
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb66247d9a210d46e5c35130f4a50d85584b8af2faac072fdcb2676bd8c59ad562baa994b36ac26997b39cd262326740bc32ff1e4d160736cb1d895fb5ce0956
|
7
|
+
data.tar.gz: 5915ef0b2e561f4d92b8e1dd85209a958f87c997600dba889f857b87d37d0fd2ae09eaf8e323c527d39863bd8b9461cb1b0cb90054c00ff6d89438d55ee7d36c
|
data/.travis.yml
CHANGED
@@ -18,8 +18,9 @@ matrix:
|
|
18
18
|
env: TEST_VAGRANT_VERSION=v1.6.5 BUNDLER_VERSION=1.6.9
|
19
19
|
- rvm: 2.0.0
|
20
20
|
env: TEST_VAGRANT_VERSION=v1.7.4 BUNDLER_VERSION=1.10.5
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
21
|
+
- rvm: 2.2.5
|
22
|
+
env: TEST_VAGRANT_VERSION=v1.8.7 BUNDLER_VERSION=1.12.5
|
23
|
+
- rvm: 2.2.5
|
24
|
+
env: TEST_VAGRANT_VERSION=v1.9.1 BUNDLER_VERSION=1.13.6
|
25
|
+
- rvm: 2.2.5
|
26
|
+
env: TEST_VAGRANT_VERSION=HEAD BUNDLER_VERSION=1.13.6
|
data/CHANGELOG
CHANGED
@@ -1,6 +1,20 @@
|
|
1
1
|
vagrant-pe_build
|
2
2
|
================
|
3
3
|
|
4
|
+
0.17.0
|
5
|
+
------
|
6
|
+
|
7
|
+
2016-12-13
|
8
|
+
|
9
|
+
This is a backwards compatible feature release.
|
10
|
+
|
11
|
+
* Add support for PE 2016.5.1.
|
12
|
+
|
13
|
+
* Disable PE analytics collection.
|
14
|
+
|
15
|
+
* (GH-119) Make errors thrown during agent cleanup non-fatal.
|
16
|
+
|
17
|
+
|
4
18
|
0.16.0
|
5
19
|
------
|
6
20
|
|
data/Gemfile
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
ENV['TEST_VAGRANT_VERSION'] ||= 'v1.
|
3
|
+
ENV['TEST_VAGRANT_VERSION'] ||= 'v1.9.1'
|
4
4
|
|
5
5
|
# Wrapping gemspec in the :plugins group causes Vagrant 1.5 and newer to
|
6
6
|
# automagically load this plugin during acceptance tests.
|
@@ -21,9 +21,6 @@ group :test do
|
|
21
21
|
# FIXME: Hack to allow Vagrant v1.6.5 to install for tests. Remove when
|
22
22
|
# support for 1.6.5 is dropped.
|
23
23
|
gem 'rack', '< 2'
|
24
|
-
# FIXME: Hack to allow Vagrant v1.8.5 to install for tests. Remove when
|
25
|
-
# support for 1.8.5 is dropped.
|
26
|
-
gem 'ruby_dep', '~> 1.3.1'
|
27
24
|
end
|
28
25
|
|
29
26
|
# Pinned on 12/10/2014. Compatible with Vagrant 1.6.x, 1.7.x and 1.8.x.
|
@@ -1,6 +1,8 @@
|
|
1
1
|
require 'pe_build/util/pe_packaging'
|
2
2
|
require 'pe_build/util/machine_comms'
|
3
3
|
|
4
|
+
require 'vagrant/errors'
|
5
|
+
|
4
6
|
require 'uri'
|
5
7
|
|
6
8
|
module PEBuild
|
@@ -258,7 +260,18 @@ bash pe_frictionless_installer.sh
|
|
258
260
|
shell_config.finalize!
|
259
261
|
|
260
262
|
shell_provisioner = Vagrant.plugin('2').manager.provisioners[:shell].new(master_vm, shell_config)
|
261
|
-
|
263
|
+
|
264
|
+
begin
|
265
|
+
shell_provisioner.provision
|
266
|
+
rescue Vagrant::Errors::VagrantError => e
|
267
|
+
master_vm.ui.error I18n.t(
|
268
|
+
'pebuild.provisioner.pe_agent.purge_failed',
|
269
|
+
:certname => agent_certname,
|
270
|
+
:master => master_vm.name.to_s,
|
271
|
+
:error_class => e.class,
|
272
|
+
:message => e.message
|
273
|
+
)
|
274
|
+
end
|
262
275
|
end
|
263
276
|
|
264
277
|
end
|
data/lib/pe_build/release.rb
CHANGED
@@ -0,0 +1,30 @@
|
|
1
|
+
require 'pe_build/release'
|
2
|
+
|
3
|
+
module PEBuild::Release
|
4
|
+
|
5
|
+
twentysixteen_five_x = newrelease do
|
6
|
+
|
7
|
+
add_release :el, '6'
|
8
|
+
add_release :el, '7'
|
9
|
+
|
10
|
+
add_release :sles, '11'
|
11
|
+
add_release :sles, '12'
|
12
|
+
|
13
|
+
add_release :ubuntu, '12.04'
|
14
|
+
add_release :ubuntu, '14.04'
|
15
|
+
add_release :ubuntu, '16.04'
|
16
|
+
|
17
|
+
add_release :windows, '2008'
|
18
|
+
add_release :windows, '2008R2'
|
19
|
+
add_release :windows, '2012'
|
20
|
+
add_release :windows, '2012R2'
|
21
|
+
add_release :windows, '7'
|
22
|
+
add_release :windows, '8'
|
23
|
+
add_release :windows, '8.1'
|
24
|
+
add_release :windows, '10'
|
25
|
+
|
26
|
+
set_answer_file :master, File.join(PEBuild.template_dir, 'answers', 'master-2016.2.x.conf.erb')
|
27
|
+
end
|
28
|
+
|
29
|
+
@releases['2016.5.1'] = twentysixteen_five_x
|
30
|
+
end
|
data/lib/pe_build/version.rb
CHANGED
data/templates/locales/en.yml
CHANGED
@@ -76,6 +76,13 @@ en:
|
|
76
76
|
Skipping purge of agent data.
|
77
77
|
purging_agent: |-
|
78
78
|
Purging agent data for %{certname} from %{master}.
|
79
|
+
purge_failed: |-
|
80
|
+
An error of type %{error_class} occurred while purging data for
|
81
|
+
agent %{certname} from %{master}:
|
82
|
+
|
83
|
+
%{message}
|
84
|
+
|
85
|
+
Agent data will have to be removed from %{master} manually.
|
79
86
|
transfer:
|
80
87
|
open_uri:
|
81
88
|
download_failed: |-
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-pe_build
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adrien Thebo
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-12-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ruby-progressbar
|
@@ -157,6 +157,7 @@ files:
|
|
157
157
|
- lib/pe_build/release/2016_1.rb
|
158
158
|
- lib/pe_build/release/2016_2.rb
|
159
159
|
- lib/pe_build/release/2016_4.rb
|
160
|
+
- lib/pe_build/release/2016_5.rb
|
160
161
|
- lib/pe_build/release/2_0.rb
|
161
162
|
- lib/pe_build/release/2_5.rb
|
162
163
|
- lib/pe_build/release/2_6.rb
|
@@ -232,4 +233,3 @@ signing_key:
|
|
232
233
|
specification_version: 4
|
233
234
|
summary: Vagrant provisioners for installing Puppet Enterprise
|
234
235
|
test_files: []
|
235
|
-
has_rdoc:
|