jamie-vagrant 0.2.4 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,7 +27,7 @@ module Jamie
27
27
  # @author Fletcher Nichol <fnichol@nichol.ca>
28
28
  class Vagrant < Jamie::Driver::SSHBase
29
29
 
30
- default_config 'memory', '256'
30
+ default_config 'customize', {'memory' => '256'}
31
31
 
32
32
  def create(state)
33
33
  # @todo Vagrantfile setup will be placed in any dependency hook
@@ -21,6 +21,6 @@ module Jamie
21
21
  module Driver
22
22
 
23
23
  # Version string for Vagrant Jamie driver
24
- VAGRANT_VERSION = "0.2.4"
24
+ VAGRANT_VERSION = "0.3.0"
25
25
  end
26
26
  end
@@ -67,7 +67,10 @@ module Jamie
67
67
  c.vm.box = driver['box']
68
68
  c.vm.box_url = driver['box_url'] if driver['box_url']
69
69
  c.vm.host_name = "#{instance.name}.vagrantup.com"
70
- c.vm.customize ["modifyvm", :id, "--memory", driver['memory']]
70
+
71
+ driver['customize'].each do |key,value|
72
+ c.vm.customize ["modifyvm", :id, "--#{key}", value]
73
+ end
71
74
 
72
75
  c.vm.provision :chef_solo do |chef|
73
76
  chef.log_level = config.jamie.log_level
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jamie-vagrant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -122,7 +122,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
122
122
  version: '0'
123
123
  segments:
124
124
  - 0
125
- hash: -2393118268672689718
125
+ hash: 2642182553436697991
126
126
  required_rubygems_version: !ruby/object:Gem::Requirement
127
127
  none: false
128
128
  requirements:
@@ -131,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  version: '0'
132
132
  segments:
133
133
  - 0
134
- hash: -2393118268672689718
134
+ hash: 2642182553436697991
135
135
  requirements: []
136
136
  rubyforge_project:
137
137
  rubygems_version: 1.8.24