vagrant-pe_build 0.13.2 → 0.13.3

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: 15a722c813eadf66cdeb91e2261776d317833807
4
- data.tar.gz: 15f41c255df414d9ad264cbf18ca8d528e7ece08
3
+ metadata.gz: a10fda9a0205acc62b1d6194b8fddf6635f791f7
4
+ data.tar.gz: 3282fea463fa5d9e0ffa2d218bc49e2d5b1dc98d
5
5
  SHA512:
6
- metadata.gz: b1dd56b985021bf542ca4e3e2c867296baf708b464ce0e58347ac784e3f23322bc5f165e8a3534b7160b1e6cc0cdd296008ccb9c4f22a13424b8f7796453aa1f
7
- data.tar.gz: 2cf402d68a8d7eb61785fad6f38fdc7efd226950f6fd4acf1853569d1bb2a5267c19ec75f47b1814d559949b6b3ebf7b68674d29086be393a536369e3172d8b8
6
+ metadata.gz: 9637a34c7de8821bd662d536f52a00b32c658770a8984a81e6a46182811dccaf480020ca10ea3787acb1b07c467f8cf2138183c2ab4fde5d4a9f753085219b29
7
+ data.tar.gz: 407c4a3fea1b6f07055b3778ef33e713c30fb5a3f418537f1b58ff6ccb636eb8cab2734ed86263ae3a8f9305d2285e1cee38b5b2dd0cc0931df326d151749634
data/CHANGELOG CHANGED
@@ -1,6 +1,18 @@
1
1
  vagrant-pe_build
2
2
  ================
3
3
 
4
+ 0.13.3
5
+ ------
6
+
7
+ 2015-11-07
8
+
9
+ This is a backwards compatible bugfix release.
10
+
11
+ * (GH-107) Fall back to using VM names as certnames if VM hostnames are
12
+ unset.
13
+
14
+ * (GH-108) Added support for PE 3.8.3 and 2015.2.3.
15
+
4
16
  0.13.2
5
17
  ------
6
18
 
data/README.markdown CHANGED
@@ -110,7 +110,7 @@ with the global `config.pe_build` settings.
110
110
  * Description: The hostname or fqdn of the puppet master. Must be specified
111
111
  if `master_vm` is not set.
112
112
  * Default: `nil`. Defaults to `vm.hostname` of the Puppet Master if
113
- `master_vm` is set.
113
+ `master_vm` is set and `master_vm` if `vm.hostname` is not set.
114
114
  * `version`
115
115
  * Description: The version number of the PE Agent to install. **NOTE:**
116
116
  this setting is currently used only for Windows agents. POSIX agents will
@@ -26,7 +26,8 @@ class PEBuild::Config::PEAgent < Vagrant.plugin('2', :config)
26
26
  # @!attribute master
27
27
  # @return [String] The DNS hostname of the Puppet master for this node.
28
28
  # If {#master_vm} is set, the hostname of that machine will be used
29
- # as a default.
29
+ # as a default. If the hostname is unset, the name of the VM will be
30
+ # used as a secondary default.
30
31
  attr_accessor :master
31
32
 
32
33
  # @!attribute master_vm
@@ -18,6 +18,9 @@ class PEBuild::ConfigBuilder::PEAgent < ::ConfigBuilder::Model::Base
18
18
  def_model_attribute :autopurge
19
19
  # @!attribute master
20
20
  # @return [String] The DNS hostname of the Puppet master for this node.
21
+ # If {#master_vm} is set, the hostname of that machine will be used
22
+ # as a default. If the hostname is unset, the name of the VM will be
23
+ # used as a secondary default.
21
24
  def_model_attribute :master
22
25
  # @!attribute master_vm
23
26
  # @return [String] The name of a Vagrant VM to use as the master.
@@ -57,7 +57,7 @@ module PEBuild
57
57
 
58
58
  unless vm_def.nil?
59
59
  @master_vm = machine.env.machine(*vm_def)
60
- config.master ||= @master_vm.config.vm.hostname.to_s
60
+ config.master ||= ( @master_vm.config.vm.hostname || @master_vm.name ).to_s
61
61
  end
62
62
  end
63
63
  end
@@ -220,7 +220,7 @@ bash pe_frictionless_installer.sh
220
220
  def cleanup_agent_cert
221
221
  # TODO: This isn't very flexible. But, the VM is destroyed at this
222
222
  # point, so it's the best guess we have available.
223
- agent_certname = machine.config.vm.hostname
223
+ agent_certname = (machine.config.vm.hostname || machine.name).to_s
224
224
 
225
225
  unless is_reachable?(master_vm)
226
226
  master_vm.ui.warn I18n.t(
@@ -39,6 +39,6 @@ module PEBuild
39
39
  require 'pe_build/release/3_8'
40
40
  require 'pe_build/release/2015_2'
41
41
 
42
- LATEST_VERSION = '2015.2.2'
42
+ LATEST_VERSION = '2015.2.3'
43
43
  end
44
44
  end
@@ -35,4 +35,5 @@ module PEBuild::Release
35
35
  @releases['2015.2.0'] = twentyfifteen_two_x
36
36
  @releases['2015.2.1'] = twentyfifteen_two_x
37
37
  @releases['2015.2.2'] = twentyfifteen_two_x
38
+ @releases['2015.2.3'] = twentyfifteen_two_x
38
39
  end
@@ -58,5 +58,6 @@ module PEBuild::Release
58
58
  @releases['3.8.0'] = three_eight_x
59
59
  @releases['3.8.1'] = three_eight_x
60
60
  @releases['3.8.2'] = three_eight_x
61
+ @releases['3.8.3'] = three_eight_x
61
62
  end
62
63
 
@@ -1,3 +1,3 @@
1
1
  module PEBuild
2
- VERSION = '0.13.2'
2
+ VERSION = '0.13.3'
3
3
  end
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.13.2
4
+ version: 0.13.3
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: 2015-10-31 00:00:00.000000000 Z
12
+ date: 2015-11-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: progressbar
@@ -218,3 +218,4 @@ signing_key:
218
218
  specification_version: 4
219
219
  summary: Vagrant provisioners for installing Puppet Enterprise
220
220
  test_files: []
221
+ has_rdoc: