blob: 5c18382ee7dbd21a6cab85553be982754c062af3 [file] [log] [blame]
Ales Komarekc151bcf2017-02-20 20:46:54 +01001
2=============
3Redis formula
4=============
5
6key value storage
7
8
9Sample pillars
10==============
11
12Redis localhost server
13
14
15.. code-block:: yaml
16
17 redis:
18 server:
19 enabled: true
20 bind:
21 address: 127.0.0.1
22 port: 6379
23 protocol: tcp
24
25Redis world open
26
27.. code-block:: yaml
28
29 redis:
30 server:
31 enabled: true
32 bind:
33 address: 0.0.0.0
34 port: 6379
35 protocol: tcp
36
37Redis modes
38
39.. code-block:: yaml
40
41 redis:
42 server:
43 enabled: true
44 appendfsync: no | everysec | always
45
46Redis cluster master
47
48.. code-block:: yaml
49
50 redis:
51 cluster:
52 enabled: True
53 master:
54 host: 192.168.1.100
55 port: 6379
56 mode: sentinel
57 quorum: 2
58 role: master
59 supervisor:
60 server:
61 service:
62 redis_sentinel:
63 name: sentinel
64 type: redis
65
66Redis cluster slave
67
68.. code-block:: yaml
69
70 redis:
71 cluster:
72 enabled: True
73 master:
74 host: 192.168.1.100
75 port: 6379
76 mode: sentinel
77 quorum: 2
78 role: slave
79 supervisor:
80 server:
81 service:
82 redis_sentinel:
83 name: sentinel
84 type: redis
85
86
87Command usage
88=============
89
90Removes data from your connection's CURRENT database.
91
92 > redis-cli FLUSHDB
93
94Removes data from ALL databases.
95
96 > redis-cli FLUSHALL
97
98
99More information
100================
101
102* http://redis.io/topics/admin
103* http://redis.io/topics/quickstart
104* http://redis.io/topics/persistence
105
Filip Pytloun764c13d2017-02-02 13:04:49 +0100106
107Documentation and Bugs
108======================
109
110To learn how to install and update salt-formulas, consult the documentation
111available online at:
112
113 http://salt-formulas.readthedocs.io/
114
115In the unfortunate event that bugs are discovered, they should be reported to
116the appropriate issue tracker. Use Github issue tracker for specific salt
117formula:
118
119 https://github.com/salt-formulas/salt-formula-redis/issues
120
121For feature requests, bug reports or blueprints affecting entire ecosystem,
122use Launchpad salt-formulas project:
123
124 https://launchpad.net/salt-formulas
125
126You can also join salt-formulas-users team and subscribe to mailing list:
127
128 https://launchpad.net/~salt-formulas-users
129
130Developers wishing to work on the salt-formulas projects should always base
131their work on master branch and submit pull request against specific formula.
132
133 https://github.com/salt-formulas/salt-formula-redis
134
135Any questions or feedback is always welcome so feel free to join our IRC
136channel:
137
138 #salt-formulas @ irc.freenode.net