Sha256: ffe50f433774ee03fb78fab8beb2064f99377b1d7cb898c60ae9821142473938

Contents?: true

Size: 310 Bytes

Versions: 9

Compression:

Stored size: 310 Bytes

Contents

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}@#{host} -p #{ssh_port} nodes/#{host}/#{container_name}.json"
    say "Chef CMD: #{command}\n"
    system command
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
open-dock-0.1.13 lib/open-dock/chef.rb
open-dock-0.1.11 lib/open-dock/chef.rb
open-dock-0.1.10 lib/open-dock/chef.rb
open-dock-0.1.9 lib/open-dock/chef.rb
open-dock-0.1.8 lib/open-dock/chef.rb
open-dock-0.1.7 lib/open-dock/chef.rb
open-dock-0.1.6 lib/open-dock/chef.rb
open-dock-0.1.5 lib/open-dock/chef.rb
open-dock-0.1.3 lib/open-dock/chef.rb