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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 359cc1db4c0d6f48ab89bb75ac482a28396c5541
4
- data.tar.gz: 20f1e051e25ab86aa95d180bc6805ceb30adf3e7
3
+ metadata.gz: a8df34ff0901421c0364a1eacbb3e7e7d623407e
4
+ data.tar.gz: 9988094943b806e881e7dd85862965c204116676
5
5
  SHA512:
6
- metadata.gz: 04bdea5f191965c603da7927cd7ae23d3e9cbc5760b85ceb4ff9d01a2c3b43dfde9ffb7c69d1d306aba983415d0c2021afb0d8d4a6e86696173f5ffbff4f4746
7
- data.tar.gz: aab8c4b15d77ef1fe81ad97fdbdc7e4f15e63f9e34139f66bc2aacc649eb9abcbd8805e1c60f8cfec5a32a817feb9658cacb8d554c9f284d4f840af1d50cc5c6
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
- - rvm: 2.2.3
23
- env: TEST_VAGRANT_VERSION=v1.8.6 BUNDLER_VERSION=1.12.5
24
- - rvm: 2.2.3
25
- env: TEST_VAGRANT_VERSION=HEAD BUNDLER_VERSION=1.12.5
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.8.6'
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
- shell_provisioner.provision
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
@@ -42,7 +42,8 @@ module PEBuild
42
42
  require 'pe_build/release/2016_1'
43
43
  require 'pe_build/release/2016_2'
44
44
  require 'pe_build/release/2016_4'
45
+ require 'pe_build/release/2016_5'
45
46
 
46
- LATEST_VERSION = '2016.4.0'
47
+ LATEST_VERSION = '2016.5.1'
47
48
  end
48
49
  end
@@ -27,4 +27,7 @@ module PEBuild::Release
27
27
  end
28
28
 
29
29
  @releases['2016.4.0'] = twentysixteen_four_x
30
+ @releases['2016.4.1'] = twentysixteen_four_x
31
+ @releases['2016.4.2'] = twentysixteen_four_x
32
+ @releases['2016.4.3'] = twentysixteen_four_x
30
33
  end
@@ -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
@@ -1,3 +1,3 @@
1
1
  module PEBuild
2
- VERSION = '0.16.0'
2
+ VERSION = '0.17.0'
3
3
  end
@@ -4,3 +4,4 @@
4
4
 
5
5
  # Additional customization
6
6
  "puppet_enterprise::profile::master::check_for_updates": false
7
+ "puppet_enterprise::send_analytics_data": false
@@ -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.16.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-10-22 00:00:00.000000000 Z
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: