knife-vagrant 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  knife-vagrant
2
2
  ========
3
- First pass at knife-vagrant, a knife plugin that will create a Vagrant box, then run a set of Chef recipes in it. Eventually will also run cucumber tests and report the results.
3
+ First pass at knife-vagrant, a knife plugin that will create a Vagrant box, then run a set of Chef recipes in it.
4
4
 
5
5
  Requirements
6
6
  -------------------
@@ -15,7 +15,9 @@ Installation
15
15
  Copy https://github.com/garrettux/knife-vagrant/blob/master/lib/chef/knife/vagrant_test.rb to your .chef/plugins/knife directory.
16
16
 
17
17
  #### Gem Install
18
- Not ready yet, will be available on rubygems.org later.
18
+ knife-vagrant is available on rubygems.org.
19
+
20
+ gem install knife-vagrant
19
21
 
20
22
  Usage
21
23
  -------------------
@@ -78,10 +78,8 @@ module KnifePlugins
78
78
  config.vm.forward_port(22, 2222)
79
79
  config.vm.box = "#{config[:box]}"
80
80
  config.vm.host_name = "#{config[:hostname]}"
81
- config.vm.customize do |vm|
82
- vm.memory_size = #{config[:memsize]}
83
- vm.name = "#{config[:box]}"
84
- end
81
+ config.vm.customize [ "modifyvm", :id, "--memory", #{config[:memsize]} ]
82
+ config.vm.customize [ "modifyvm", :id, "--name", "#{config[:box]}" ]
85
83
  config.vm.box_url = "#{config[:box_url]}"
86
84
  config.vm.provision :chef_client do |chef|
87
85
  chef.chef_server_url = "#{Chef::Config[:chef_server_url]}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-vagrant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: