Sha256: eceb03428aa451e2a1e14fbfb4bd9b4e318bc260e20b463b9fa6f4d9f99d5d88
Contents?: true
Size: 698 Bytes
Versions: 22
Compression:
Stored size: 698 Bytes
Contents
# monkey patch knife ssh so we can capture logs from knife bootstrap class Chef # monkey patch knife ssh so we can capture logs from knife bootstrap class Knife # monkey patch knife ssh so we can capture logs from knife bootstrap class Ssh < Knife # monkey patch knife ssh so we can capture logs from knife bootstrap def print_line(host, data) padding = @longest - host.length str = ui.color(host, :cyan) + (" " * (padding + 1)) + data ui.msg(str) if MU.mommacat and Dir.exist?(MU.mommacat.deploy_dir) File.open(MU.mommacat.deploy_dir+"/log", "a") { |f| f.puts str } end end end end end
Version data entries
22 entries across 22 versions & 1 rubygems