lib/chef_sync/knife.rb
#Need to extend Chef::Knife::API in this class because knife_capture is top-level.
Need to extend Chef::Knife::API in this class because knife_capture is top-level.
Need to extend Chef :: Knife :: API in this class because knife_capture is top - level .
def upload(*args)
			knife_output = self.fork_knife_capture(self.upload_command, args)
			stdout, stderr, status = knife_output
			unless status == 0
				puts "Received STDERR #{stderr} when trying to run knife_capture(#{self.upload_command}, #{args})."
				return false
			end
			return true
		end
def upload ( * args ) knife_output = self . fork_knife_capture ( self . upload_command , args ) stdout , stderr , status = knife_output unless status == 0 puts "Received STDERR #{stderr} when trying to run knife_capture(#{self.upload_command}, #{args})." return false end return true end
Need to extend Chef::Knife::API in this class because knife_capture is top-level.
Need to extend Chef :: Knife :: API in this class because knife_capture is top - level .
args