%PDF- %PDF-
| Direktori : /proc/self/root/proc/3522530/root/usr/lib/python2.7/site-packages/salt/tokens/ |
| Current File : //proc/self/root/proc/3522530/root/usr/lib/python2.7/site-packages/salt/tokens/rediscluster.pyo |
�
���^c @@ s� d Z d d l m Z m Z m Z y d d l Z e Z Wn e k
rQ e Z n Xd d l
Z
d d l Z d d l Z d d l
Z d d l m Z e j e � Z d Z d � Z d � Z d � Z d � Z d
� Z d � Z d S( u�
Provide token storage in Redis cluster.
To get started simply start a redis cluster and assign all hashslots to the connected nodes.
Add the redis hostname and port to master configs as eauth_redis_host and eauth_redis_port.
Default values for these configs are as follow:
.. code-block:: yaml
eauth_redis_host: localhost
eauth_redis_port: 6379
:depends: - redis-py-cluster Python package
i ( t absolute_importt print_functiont unicode_literalsN( t sixu redisclusterc C@ s t s t d f St S( NuL Could not use redis for tokens; rediscluster python client is not installed.( t HAS_REDISt Falset __virtualname__( ( ( s<