Example #1
0
def rabbitmq_install():
    """
    Installs RabbitMQ, WARNING: Will overwrite any existing installation
    """
    #stop_rabbitmq("IGNORE_ERROR")
    tasks = bungeni.RabbitMQTasks()
    tasks.setup_rabbitmq()
Example #2
0
def rabbitmq_switch_admin():
    """
    Run this only if your rabbitmq is using the default guest user as admin. This action will switch it to use the admin info specified in setup.ini
    """
    tasks = bungeni.RabbitMQTasks()
    tasks.add_admin()
Example #3
0
def rabbitmq_reset():
    """
    Purges all queues created for Bungeni.
    """
    tasks = bungeni.RabbitMQTasks()
    tasks.rabbitmq_purge()