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