AppController/lib/cassandra_helper.rb
# Determines if a UserAppServer should run on this machine.
#
# Args:
#   job: A DjinnJobData that indicates if the node runs a Database role.
#
# Returns:
#   true if the given node runs a Database role, and false otherwise.
Determines if a UserAppServer should run on this machine.
Args:
job: A DjinnJobData that indicates if the node runs a Database role.

true if the given node runs a Database role, and false otherwise.
Determines if a UserAppServer should run on this machine . Args : job : A DjinnJobData that indicates if the node runs a Database role . true if the given node runs a Database role and false otherwise .
def has_soap_server?(job)
  if job.is_db_master? or job.is_db_slave?
    return true
  else
    return false
  end
end
def has_soap_server? ( job ) if job . is_db_master? or job . is_db_slave? return true else return false end end
Determines if a UserAppServer should run on this machine.
Determines if a UserAppServer should run on this machine .
job
<not_specific>