Sha256: 1c83e89693b63159a0343e9563d391e60352bdb178d2a094015c04e3478ef0a2
Contents?: true
Size: 441 Bytes
Versions: 1
Compression:
Stored size: 441 Bytes
Contents
require 'server_tools/support/ssh' module ServerTools class Provision include SSH def initialize(hostname, options) @hostname = hostname @options = options end def command [ "ssh #{hostname}", "-t -t", "#{ssh_opts(options)}", "sudo /usr/bin/chef-client #{options[:chef_client_flags]}" ].join(' ') end private attr_reader :hostname, :options end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
server_tools-0.2.0 | lib/server_tools/provision.rb |