vagrant_bootstrap 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/bin/{vagbs → vagrant_bootstrap} +0 -0
- data/lib/vagrant_bootstrap/cli.rb +2 -2
- data/lib/vagrant_bootstrap/version.rb +1 -1
- data/templates/default.erb +9 -17
- metadata +4 -4
data/README.md
CHANGED
@@ -20,7 +20,7 @@ Or install it yourself as:
|
|
20
20
|
|
21
21
|
## Usage
|
22
22
|
|
23
|
-
$
|
23
|
+
$ vagrant_bootstrap [name] [-b adapter]
|
24
24
|
|
25
25
|
Create a Vagrantfile in a directory. Optionally, supply a name and/or bridge
|
26
26
|
adapter. If no name or bridge adapter is specified, sane defaults are used.
|
File without changes
|
@@ -13,10 +13,10 @@ module VagrantBootstrap
|
|
13
13
|
Easily generate a Vagrantfile in a namespaced directory
|
14
14
|
|
15
15
|
Usage:
|
16
|
-
|
16
|
+
vagrant_bootstrap [name] [-b adapter]
|
17
17
|
|
18
18
|
If specified, the name will be used to calculate the directory name and
|
19
|
-
hostname of the VM, e.g. '
|
19
|
+
hostname of the VM, e.g. 'vagrant_bootstrap taco' will yield a directory and hostname of
|
20
20
|
'%{name}')
|
21
21
|
EOS
|
22
22
|
|
data/templates/default.erb
CHANGED
@@ -6,7 +6,7 @@ Vagrant::Config.run do |config|
|
|
6
6
|
config.vm.define "<%= name %>" do |config|
|
7
7
|
|
8
8
|
# Every Vagrant virtual environment requires a box to build off of.
|
9
|
-
config.vm.box = "maverick64"
|
9
|
+
config.vm.box = "maverick64-sr"
|
10
10
|
|
11
11
|
# The url from where the 'config.vm.box' box will be fetched if it
|
12
12
|
# doesn't already exist on the user's system.
|
@@ -39,21 +39,13 @@ Vagrant::Config.run do |config|
|
|
39
39
|
# HTTP instead of HTTPS depending on your configuration. Also change the
|
40
40
|
# validation key to validation.pem.
|
41
41
|
#
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
#
|
51
|
-
# If you're using the Opscode platform, your validator client is
|
52
|
-
# ORGNAME-validator, replacing ORGNAME with your organization name.
|
53
|
-
#
|
54
|
-
# IF you have your own Chef Server, the default validation client name is
|
55
|
-
# chef-validator, unless you changed the configuration.
|
56
|
-
#
|
57
|
-
# chef.validation_client_name = "ORGNAME-validator"
|
42
|
+
config.vm.provision :chef_client do |chef|
|
43
|
+
chef.chef_server_url = "http://cfg.rs.receipt.com:4000"
|
44
|
+
chef.validation_key_path = "~/.chef/validation.pem"
|
45
|
+
chef.validation_client_name = "chef-validator"
|
46
|
+
chef.environment = "development"
|
47
|
+
chef.run_list = ['role[sr_users]']
|
48
|
+
chef.node_name = config.vm.host_name
|
49
|
+
end
|
58
50
|
end
|
59
51
|
end
|
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.1.
|
4
|
+
version: 0.1.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-07-
|
12
|
+
date: 2012-07-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: trollop
|
@@ -31,7 +31,7 @@ description: Easily generate a Vagrantfile in a namespaced directory
|
|
31
31
|
email:
|
32
32
|
- justin.force@gmail.com
|
33
33
|
executables:
|
34
|
-
-
|
34
|
+
- vagrant_bootstrap
|
35
35
|
extensions: []
|
36
36
|
extra_rdoc_files: []
|
37
37
|
files:
|
@@ -40,7 +40,7 @@ files:
|
|
40
40
|
- LICENSE
|
41
41
|
- README.md
|
42
42
|
- Rakefile
|
43
|
-
- bin/
|
43
|
+
- bin/vagrant_bootstrap
|
44
44
|
- lib/vagrant_bootstrap.rb
|
45
45
|
- lib/vagrant_bootstrap/bootstrap.rb
|
46
46
|
- lib/vagrant_bootstrap/cli.rb
|