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 +4 -4
- data/CHANGELOG +12 -0
- data/README.markdown +1 -1
- data/lib/pe_build/config/pe_agent.rb +2 -1
- data/lib/pe_build/config_builder/pe_agent.rb +3 -0
- data/lib/pe_build/provisioner/pe_agent.rb +2 -2
- data/lib/pe_build/release.rb +1 -1
- data/lib/pe_build/release/2015_2.rb +1 -0
- data/lib/pe_build/release/3_8.rb +1 -0
- data/lib/pe_build/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a10fda9a0205acc62b1d6194b8fddf6635f791f7
|
4
|
+
data.tar.gz: 3282fea463fa5d9e0ffa2d218bc49e2d5b1dc98d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(
|
data/lib/pe_build/release.rb
CHANGED
data/lib/pe_build/release/3_8.rb
CHANGED
data/lib/pe_build/version.rb
CHANGED
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.
|
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-
|
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:
|