File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/sdb/__pycache__/redis_sdb.cpython-310.pyc
Back
o ;j� � @ sb d Z zddlZdZW n ey dZY nw ddiZdZdd � Zdd d�Zddd�Zdd d�Z dS )aN Redis SDB module ================ .. versionadded:: 2019.2.0 This module allows access to Redis using an ``sdb://`` URI. Like all SDB modules, the Redis module requires a configuration profile to be configured in either the minion or master configuration file. This profile requires very little. For example: .. code-block:: yaml sdb_redis: driver: redis host: 127.0.0.1 port: 6379 password: pass db: 1 The ``driver`` refers to the Redis module, all other options are optional. For option details see: https://redis-py.readthedocs.io/en/latest/. � NTF�set_�set�redisc C s t sdS tS )z Module virtual name. )Fz3Please install python-redis to use this SDB module.)� HAS_REDIS�__virtualname__� r r �F/opt/saltstack/salt/lib/python3.10/site-packages/salt/sdb/redis_sdb.py�__virtual__'