Source code for saltext.cassandra.modules.cassandra_mod
"""Salt execution module"""importlogginglog=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]defexample_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)