From 5bdcf9d72acad6bf4520e18ff0864bbf62ff524b Mon Sep 17 00:00:00 2001 From: Daniel Wallace Date: Fri, 14 Aug 2015 13:33:23 -0500 Subject: [PATCH] add version --- salt/engines/redis_sentinel.py | 2 +- salt/modules/redismod.py | 4 ++++ salt/states/redismod.py | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/salt/engines/redis_sentinel.py b/salt/engines/redis_sentinel.py index f579f2b5a6..dd7cc8f9be 100644 --- a/salt/engines/redis_sentinel.py +++ b/salt/engines/redis_sentinel.py @@ -3,7 +3,7 @@ An engine that reads messages from the redis sentinel pubsub and sends reactor events based on the channels they are subscribed to. -.. versionadded: +.. versionadded: Boron :configuration: diff --git a/salt/modules/redismod.py b/salt/modules/redismod.py index 04ca18da8b..0b8b451ea2 100644 --- a/salt/modules/redismod.py +++ b/salt/modules/redismod.py @@ -507,6 +507,8 @@ def sentinel_get_master_ip(master, host=None, port=None, password=None): ''' Get ip for sentinel master + .. versionadded: Boron + CLI Example: .. code-block:: bash @@ -522,6 +524,8 @@ def get_master_ip(host=None, port=None, password=None): ''' Get host information about slave + .. versionadded: Boron + CLI Example: .. code-block:: bash diff --git a/salt/states/redismod.py b/salt/states/redismod.py index 46100bad1d..d13b14e795 100644 --- a/salt/states/redismod.py +++ b/salt/states/redismod.py @@ -119,6 +119,8 @@ def absent(name, keys=None, **connection_args): def slaveof(name, sentinel_host=None, sentinel_port=None, sentinel_password=None, **connection_args): ''' Set this redis instance as a slave. + + .. versionadded: Boron name Master to make this a slave of