Sha256: 4f71c8aaa0957be1703b6d1c0c1fe438a0de5755e012fda7a9c5f3d702c543fe
Contents?: true
Size: 468 Bytes
Versions: 4
Compression:
Stored size: 468 Bytes
Contents
module ServerTools class Bootstrap def initialize(hostname, options) @hostname = hostname @options = options end def command [ "knife bootstrap #{hostname}", "--identity-file #{options[:identity_file]}", "--ssh-port #{options[:ssh_port]}", "--ssh-user #{options[:ssh_user]}", "--sudo", "--local-mode" ].join(' ') end private attr_reader :hostname, :options end end
Version data entries
4 entries across 4 versions & 1 rubygems