Stub out required functions for redis cache

Without these functions the masters are
not able to use the redis cache completely

Signed-off-by: Carson Anderson <ca@carsonoid.net>
This commit is contained in:
Carson Anderson 2017-08-11 10:39:11 -06:00
parent 03f0f4a8b3
commit 885bee2a7d

View File

@ -115,7 +115,7 @@ from salt.exceptions import SaltCacheError
__virtualname__ = 'redis' __virtualname__ = 'redis'
__func_alias__ = { __func_alias__ = {
'list_': 'list' 'ls': 'list'
} }
log = logging.getLogger(__file__) log = logging.getLogger(__file__)
@ -145,6 +145,9 @@ def __virtual__():
# helper functions -- will not be exported # helper functions -- will not be exported
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
def init_kwargs(kwargs):
return {}
def _get_redis_cache_opts(): def _get_redis_cache_opts():
''' '''
@ -415,7 +418,7 @@ def flush(bank, key=None):
return True return True
def list_(bank): def ls(bank):
''' '''
Lists entries stored in the specified bank. Lists entries stored in the specified bank.
''' '''