Sha256: 97c6eb21945dc783f521a480f34c96c76f07b4809d55852d962e27ff6c237cb1
Contents?: true
Size: 444 Bytes
Versions: 1
Compression:
Stored size: 444 Bytes
Contents
require 'specinfra' module Populus class Node class << self def registory @nodes ||= {} end def register_host(hostname) registory[hostname] = gen_host(hostname) end private def gen_host(hostname) return Specinfra::Backend::Ssh.new( host: hostname, ssh_options: Populus.config.ssh_options, request_pty: true ) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
populus-0.0.3 | lib/populus/node.rb |