virtualman 1.1.2 → 1.1.3

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.
Files changed (2) hide show
  1. data/lib/virtualman/interractive.rb +1 -5
  2. metadata +1 -1
@@ -94,13 +94,9 @@ def cook
94
94
  user="root"
95
95
 
96
96
  if start_vm(selected_vm)
97
- cmd = "ssh #{user}@#{selected_vm.ip} '/usr/local/bin/chef-solo -j #{role_path}#{role}.json -r #{cookbook_path}'"
97
+ cmd = "ssh #{user}@#{selected_vm.ip} '/usr/local/bin/chef-solo -j #{role_path}#{role}.json --json-attributes -r #{cookbook_path}'"
98
98
  p cmd
99
99
  system(cmd)
100
- #$stdin, $stdout, $stderr = Open3.popen3(cmd)
101
- #$stdout.gets
102
- #$stderr.gets
103
- #{}`#{cmd}`
104
100
  end
105
101
 
106
102
  puts "Thanks!"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: virtualman
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: