virtualman 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/virtualman/interractive.rb +1 -5
- 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!"
|