lib/open-dock/chef.rb in open-dock-0.1.2 vs lib/open-dock/chef.rb in open-dock-0.1.3

- old
+ new

@@ -1,8 +1,8 @@ module Chef def self.cook(user, container_name, host, ssh_port) say "Container '#{container_name}' configuring on #{host}, please wait ....\n" - command = "knife solo cook #{user}@#{container_name}.#{host} -p #{ssh_port}" + command = "knife solo cook #{user}@#{host} -p #{ssh_port} nodes/#{host}/#{container_name}.json" say "Chef CMD: #{command}\n" system command end end \ No newline at end of file