vagrant_bootstrap 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,18 +1,11 @@
1
1
  vagrant\_bootstrap
2
2
  =================
3
3
 
4
- Easily create directories with Vagrantfiles to ease creation and collaboration
5
- of namespaced Vagrant virtual machines and avoid namespace collisions.
4
+ Extend Vagrant to easily create directories with Vagrantfiles to ease creation and collaboration of namespaced Vagrant virtual machines and avoid namespace collisions.
6
5
 
7
- ## Installation
8
-
9
- Add this line to your application's Gemfile:
10
-
11
- gem 'vagrant_bootstrap'
12
-
13
- And then execute:
6
+ Also automatically deletes node and client for the VM from chef upon `vagrant destroy`.
14
7
 
15
- $ bundle
8
+ ## Installation
16
9
 
17
10
  Or install it yourself as:
18
11
 
@@ -20,28 +13,4 @@ Or install it yourself as:
20
13
 
21
14
  ## Usage
22
15
 
23
- $ vagrant_bootstrap [name] [-b adapter]
24
-
25
- Create a Vagrantfile in a directory. Optionally, supply a name and/or bridge
26
- adapter. If no name or bridge adapter is specified, sane defaults are used.
27
-
28
- ### Defaults
29
-
30
- #### Name
31
-
32
- The default name is `vagrant-yourname` where "yourname" is determined by a
33
- `whoami`. If you specify a name, it will be appended, e.g. a name argument of
34
- "potato" will produce `vagrant-yourname-potato`.
35
-
36
- #### Bridge Adapter
37
-
38
- The default bridge adapter is the commonly used `br0`. No smarts here. It's
39
- just hard-coded.
40
-
41
- ## Contributing
42
-
43
- 1. Fork it
44
- 2. Create your feature branch (`git checkout -b my-new-feature`)
45
- 3. Commit your changes (`git commit -am 'Added some feature'`)
46
- 4. Push to the branch (`git push origin my-new-feature`)
47
- 5. Create new Pull Request
16
+ See `vagrant bootstrap -h` for help.
@@ -3,8 +3,6 @@ require 'vagrant_bootstrap'
3
3
  module VagrantBootstrap
4
4
  class TapBridge
5
5
 
6
- BRIDGE = 'br0'
7
-
8
6
  def initialize
9
7
  check_for_bins
10
8
  create_iface unless iface_exists?
@@ -18,6 +16,8 @@ module VagrantBootstrap
18
16
 
19
17
  private
20
18
 
19
+ BRIDGE = 'br0'
20
+
21
21
  def check_for_bins
22
22
  %w[brctl ip grep].each do |bin|
23
23
  unless $?.exitstatus == 0
@@ -1,3 +1,3 @@
1
1
  module VagrantBootstrap
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
@@ -3,8 +3,13 @@ require File.expand_path('../lib/vagrant_bootstrap/version', __FILE__)
3
3
  Gem::Specification.new do |gem|
4
4
  gem.authors = ["Justin Force"]
5
5
  gem.email = ["justin.force@gmail.com"]
6
- gem.description = %q{Easily generate a Vagrantfile in a namespaced directory}
7
- gem.summary = %q{You get a binary that you run to build a Vagrant file from a template then place it in a directory, ready to use.}
6
+ gem.description = %q{Extend Vagrant to easily create directories with Vagrantfiles}
7
+ gem.summary = %q{Extend Vagrant to easily create directories with Vagrantfiles to ease creation and collaboration of namespaced Vagrant virtual machines and avoid namespace collisions.
8
+
9
+ Also sets up TAP interfaces to facilitate multiple VirtualBox users on the same box.
10
+
11
+ Also automatically deletes node and client for the VM from chef upon `vagrant destroy`.}
12
+
8
13
  gem.homepage = "https://github.com/SmartReceipt/vagrant_bootstrap"
9
14
 
10
15
  gem.files = `git ls-files`.split($\)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant_bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -43,11 +43,10 @@ dependencies:
43
43
  - - ~>
44
44
  - !ruby/object:Gem::Version
45
45
  version: '10.12'
46
- description: Easily generate a Vagrantfile in a namespaced directory
46
+ description: Extend Vagrant to easily create directories with Vagrantfiles
47
47
  email:
48
48
  - justin.force@gmail.com
49
- executables:
50
- - vagrant_bootstrap
49
+ executables: []
51
50
  extensions: []
52
51
  extra_rdoc_files: []
53
52
  files:
@@ -56,7 +55,6 @@ files:
56
55
  - LICENSE
57
56
  - README.md
58
57
  - Rakefile
59
- - bin/vagrant_bootstrap
60
58
  - lib/vagrant_bootstrap.rb
61
59
  - lib/vagrant_bootstrap/action/destroy.rb
62
60
  - lib/vagrant_bootstrap/bootstrap.rb
@@ -92,6 +90,8 @@ rubyforge_project:
92
90
  rubygems_version: 1.8.24
93
91
  signing_key:
94
92
  specification_version: 3
95
- summary: You get a binary that you run to build a Vagrant file from a template then
96
- place it in a directory, ready to use.
93
+ summary: Extend Vagrant to easily create directories with Vagrantfiles to ease creation
94
+ and collaboration of namespaced Vagrant virtual machines and avoid namespace collisions. Also
95
+ sets up TAP interfaces to facilitate multiple VirtualBox users on the same box. Also
96
+ automatically deletes node and client for the VM from chef upon `vagrant destroy`.
97
97
  test_files: []
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require 'vagrant_bootstrap/cli'
4
-
5
- VagrantBootstrap::CLI.start