code: function mongoConnectionStringOS2(cb) {
    debug('Running in OpenShift 2, constructing db connection string from additional env vars');
    var connectionString,
      host = process.env.OPENSHIFT_MONGODB_DB_HOST,
      user = process.env.OPENSHIFT_MONGODB_DB_USERNAME,
      pass = process.env.OPENSHIFT_MONGODB_DB_PASSWORD,
      port = process.env.OPENSHIFT_MONGODB_DB_PORT,
      dbname = process.env.OPENSHIFT_APP_NAME;
    connectionString = mongodbUri.format({
      username: user,
      password: pass,
      hosts: [
        {
          host: host,
          port: port
        }
      ],
      database: dbname
    });
    process.env.FH_MONGODB_CONN_URL = connectionString;
    return cb(undefined, process.env.FH_MONGODB_CONN_URL);
  
  }
docs: if we're running on OpenShift 2, then ensure that our FH_MONGODB_CONN_URL envvar is set when the module is loaded Some client apps e.g. Our generic Welcome app, use the presense of the envvar to indicate whether direct database calls can be made