vagrant-hosts 0.0.1rc1 → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.markdown +36 -0
- data/lib/vagrant-hosts/version.rb +1 -1
- data/vagrant-hosts.gemspec +3 -0
- metadata +8 -9
- data/.gitignore +0 -1
data/README.markdown
CHANGED
@@ -2,3 +2,39 @@ vagrant-hosts
|
|
2
2
|
=============
|
3
3
|
|
4
4
|
Manage vagrant guest local DNS resolution.
|
5
|
+
|
6
|
+
Synopsis
|
7
|
+
--------
|
8
|
+
|
9
|
+
Vagrant::Config.run do |config|
|
10
|
+
config.vm.box = "ubuntu-12.04-server-i386"
|
11
|
+
|
12
|
+
config.vm.provision :hosts do |provisioner|
|
13
|
+
# Add a single hostname
|
14
|
+
provisioner.add_host '10.0.2.2', ['myhost.vagrantup.internal']
|
15
|
+
# Or a fqdn and a short hostname
|
16
|
+
provisioner.add_host '10.0.2.3', ['myotherhost.vagrantup.internal', 'myotherhost']
|
17
|
+
# Or as many aliases as you like!
|
18
|
+
provisioner.add_host '10.0.2.5', [
|
19
|
+
'mypuppetmaster.vagrantup.internal',
|
20
|
+
'puppet.vagrantup.internal',
|
21
|
+
'mypuppetmaster',
|
22
|
+
'puppet'
|
23
|
+
]
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
Supported Guest Platforms
|
28
|
+
-------------------------
|
29
|
+
|
30
|
+
* Linux
|
31
|
+
* (soon) Windows (As soon as I get a chance to incorporate the driver)
|
32
|
+
|
33
|
+
Installation
|
34
|
+
------------
|
35
|
+
|
36
|
+
# For full releases
|
37
|
+
gem install vagrant-hosts
|
38
|
+
# For pre releases
|
39
|
+
gem install --pre vagrant-hosts
|
40
|
+
# Vagrant hosts magic!
|
data/vagrant-hosts.gemspec
CHANGED
@@ -15,6 +15,9 @@ Gem::Specification.new do |gem|
|
|
15
15
|
gem.email = 'adrien@somethingsinistral.net'
|
16
16
|
gem.homepage = 'https://github.com/adrienthebo/vagrant-hosts'
|
17
17
|
|
18
|
+
gem.has_rdoc = true
|
19
|
+
gem.license = 'Apache 2.0'
|
20
|
+
|
18
21
|
gem.add_dependency 'vagrant', '~> 1.0'
|
19
22
|
|
20
23
|
gem.files = %x{git ls-files -z}.split("\0")
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-hosts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Adrien Thebo
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-12-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: vagrant
|
@@ -35,7 +35,6 @@ executables: []
|
|
35
35
|
extensions: []
|
36
36
|
extra_rdoc_files: []
|
37
37
|
files:
|
38
|
-
- .gitignore
|
39
38
|
- LICENSE
|
40
39
|
- README.markdown
|
41
40
|
- lib/vagrant-hosts.rb
|
@@ -45,7 +44,8 @@ files:
|
|
45
44
|
- lib/vagrant_init.rb
|
46
45
|
- vagrant-hosts.gemspec
|
47
46
|
homepage: https://github.com/adrienthebo/vagrant-hosts
|
48
|
-
licenses:
|
47
|
+
licenses:
|
48
|
+
- Apache 2.0
|
49
49
|
post_install_message:
|
50
50
|
rdoc_options: []
|
51
51
|
require_paths:
|
@@ -59,14 +59,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
59
59
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
60
60
|
none: false
|
61
61
|
requirements:
|
62
|
-
- - ! '
|
62
|
+
- - ! '>='
|
63
63
|
- !ruby/object:Gem::Version
|
64
|
-
version:
|
64
|
+
version: '0'
|
65
65
|
requirements: []
|
66
66
|
rubyforge_project:
|
67
|
-
rubygems_version: 1.8.
|
67
|
+
rubygems_version: 1.8.23
|
68
68
|
signing_key:
|
69
69
|
specification_version: 3
|
70
70
|
summary: Manage static DNS on vagrant guests
|
71
71
|
test_files: []
|
72
|
-
has_rdoc:
|
data/.gitignore
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
vagrant-hosts-*.gem
|