vagrant-vsphere-ddns 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +11 -0
- data/README.md +5 -3
- data/Rakefile +9 -1
- data/lib/vagrant-vsphere-ddns/action/wait_for_ip_address.rb +2 -0
- data/lib/vagrant-vsphere-ddns/config.rb +3 -3
- data/lib/vagrant-vsphere-ddns/version.rb +1 -1
- data/vagrant-vsphere-ddns.gemspec +3 -1
- metadata +23 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e97a91cc097dadbd37d312c351a9b0e45bd5b21b
|
4
|
+
data.tar.gz: 66c19e1bd6a8c6fd95df74ebc444a0abef6027b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4db20af3d8ade721965180c4069f61111d3818513fbed0cb02a9df1c0eb54d151a193407a9ce7f21e7144b2c15d96068868926b7295489ae39742333d854aa9a
|
7
|
+
data.tar.gz: c0f09e92715a71a185678975eedc22369780199928cfd6474f70ea4ec13d954aa3eae2b0f4cc6ab1a5d752cb0a85b836941459059223d7a52cd7353ee0a187a1
|
data/.travis.yml
ADDED
data/README.md
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
[![Build Status](https://travis-ci.org/tsmolka/vagrant-vsphere-ddns.svg?branch=master)](https://travis-ci.org/tsmolka/vagrant-vsphere-ddns) [![Gem Version](https://badge.fury.io/rb/vagrant-vsphere-ddns.svg)](http://badge.fury.io/rb/vagrant-vsphere-ddns)
|
2
|
+
|
1
3
|
# Vagrant vSphere DDNS plugin
|
2
4
|
|
3
5
|
This is a PoC [Vagrant](http://www.vagrantup.com) plugin that enables Vagrant to connect to vSphere VMs via dynamic domain names based on MAC addresses.
|
@@ -8,8 +10,8 @@ This configuration is however not implemented in the plugin itself and has to be
|
|
8
10
|
|
9
11
|
## Requirements
|
10
12
|
|
11
|
-
* Vagrant
|
12
|
-
* vagrant-vsphere plugin
|
13
|
+
* [Vagrant] (http://www.vagrantup.com)
|
14
|
+
* [vagrant-vsphere](https://github.com/nsidc/vagrant-vsphere) plugin
|
13
15
|
|
14
16
|
## Usage
|
15
17
|
|
@@ -40,7 +42,7 @@ end
|
|
40
42
|
```
|
41
43
|
|
42
44
|
After running `vagrant up --provider=vsphere` Vagrant will attempt to reach VM using specified domain name
|
43
|
-
(e.g. `005056a44d89.local`) and fail if
|
45
|
+
(e.g. `005056a44d89.local`) and fail if it can not be resolved for 2 minutes.
|
44
46
|
|
45
47
|
## DHCP and DNS settings
|
46
48
|
|
data/Rakefile
CHANGED
@@ -7,12 +7,12 @@ module VagrantPlugins
|
|
7
7
|
attr_accessor :ssh_timeout
|
8
8
|
|
9
9
|
def initialize
|
10
|
-
@host =
|
11
|
-
@ssh_timeout =
|
10
|
+
@host = nil
|
11
|
+
@ssh_timeout = nil
|
12
12
|
end
|
13
13
|
|
14
14
|
def finalize!
|
15
|
-
@ssh_timeout = 120 if @ssh_timeout
|
15
|
+
@ssh_timeout = 120 if @ssh_timeout.nil?
|
16
16
|
end
|
17
17
|
|
18
18
|
def validate(machine)
|
@@ -13,7 +13,9 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.description = 'Enables Vagrant to connect to vSphere VMs via dynamic domain names based on MAC addresses'
|
14
14
|
root_path = File.dirname(__FILE__)
|
15
15
|
s.add_dependency 'vagrant-vsphere', '~> 1.9'
|
16
|
-
|
16
|
+
|
17
|
+
s.add_dependency 'rake'
|
18
|
+
|
17
19
|
s.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
|
18
20
|
s.executables = s.files.grep(/^bin\//) { |f| File.basename(f) }
|
19
21
|
s.require_path = 'lib'
|
metadata
CHANGED
@@ -1,29 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-vsphere-ddns
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: vagrant-vsphere
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.9'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.9'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
27
41
|
description: Enables Vagrant to connect to vSphere VMs via dynamic domain names based
|
28
42
|
on MAC addresses
|
29
43
|
email:
|
@@ -32,7 +46,8 @@ executables: []
|
|
32
46
|
extensions: []
|
33
47
|
extra_rdoc_files: []
|
34
48
|
files:
|
35
|
-
-
|
49
|
+
- .gitignore
|
50
|
+
- .travis.yml
|
36
51
|
- Gemfile
|
37
52
|
- README.md
|
38
53
|
- Rakefile
|
@@ -57,17 +72,17 @@ require_paths:
|
|
57
72
|
- lib
|
58
73
|
required_ruby_version: !ruby/object:Gem::Requirement
|
59
74
|
requirements:
|
60
|
-
- -
|
75
|
+
- - '>='
|
61
76
|
- !ruby/object:Gem::Version
|
62
77
|
version: '0'
|
63
78
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
64
79
|
requirements:
|
65
|
-
- -
|
80
|
+
- - '>='
|
66
81
|
- !ruby/object:Gem::Version
|
67
82
|
version: '0'
|
68
83
|
requirements: []
|
69
84
|
rubyforge_project:
|
70
|
-
rubygems_version: 2.
|
85
|
+
rubygems_version: 2.0.14.1
|
71
86
|
signing_key:
|
72
87
|
specification_version: 4
|
73
88
|
summary: VMWare vSphere DDNS plugin
|