Source code for saltext.cassandra.modules.cassandra_mod

"""
Salt execution module
"""

import logging

log = logging.getLogger(__name__)

__virtualname__ = "cassandra"


def __virtual__():
    # To force a module not to load return something like:
    #   return (False, "The cassandra execution module is not implemented yet")
    return __virtualname__


[docs] def example_function(text): """ This example function should be replaced CLI Example: .. code-block:: bash salt '*' cassandra.example_function text="foo bar" """ return __salt__["test.echo"](text)