lib/container.js
function prepareAndGetExecutor(target, out, operation) {
    target.privateIpAddress = target.privateIpAddress || target.ipAddress || target.ipaddress;
    var executor = platform.executor(config, target.privateIpAddress, os.platform(), logger);
    logger.info(operation);
    out.stdout(operation);
    return executor;
   }
function prepareAndGetExecutor(target, out, operation) {
    target.privateIpAddress = target.privateIpAddress || target.ipAddress || target.ipaddress;
    var executor = platform.executor(config, target.privateIpAddress, os.platform(), logger);
    logger.info(operation);
    out.stdout(operation);
    return executor;
   }
function prepareAndGetExecutor ( target , out , operation ) { target . privateIpAddress = target . privateIpAddress || target . ipAddress || target . ipaddress ; var executor = platform . executor ( config , target . privateIpAddress , os . platform ( ) , logger ) ; logger . info ( operation ) ; out . stdout ( operation ) ; return executor ; }
prepare the environment to execute the operation and return the executor

target - target to deploy to
out - output stream
operation - the string to log to announce the beginning to the operation
prepare the environment to execute the operation and return the executor