lib/populus/node.rb in populus-0.0.3 vs lib/populus/node.rb in populus-0.0.4

- old
+ new

@@ -1,15 +1,15 @@ require 'specinfra' module Populus class Node class << self - def registory + def registry @nodes ||= {} end def register_host(hostname) - registory[hostname] = gen_host(hostname) + registry[hostname] = gen_host(hostname) end private def gen_host(hostname) return Specinfra::Backend::Ssh.new(