@@ -138,6 +138,18 @@ node 'redis-slave.my.domain' {
138
138
}
139
139
```
140
140
141
+ ### Example using Hiera
142
+
143
+ redis::install::redis_package: true
144
+ redis::install::redis_version: '2:2.8.17-1+deb8u1'
145
+ redis::servers:
146
+ 'name_server':
147
+ requirepass: 'strongpass'
148
+ enabled: true
149
+ redis_ip: '0.0.0.0'
150
+ redis_port: '6800'
151
+ redis_log_dir: '/var/log/redis/'
152
+
141
153
###Setting up sentinel with two monitors
142
154
143
155
You can create multiple sentinels on one node. But most of the time you will
@@ -184,7 +196,7 @@ The redis service(s) are configured with the defined type `redis::server`.
184
196
####Class: ` redis::install `
185
197
186
198
This class downloads, compiles and installs redis. It does not configure any
187
- redis services. This is done by defimed type redis::server.
199
+ redis services. This is done by defined type redis::server.
188
200
189
201
** Parameters within ` redis::install ` :**
190
202
@@ -204,6 +216,22 @@ directoy like '/opt/redis-2.8.8/'
204
216
Default is '/usr/bin' (string).
205
217
The dir to which the newly built redis binaries are copied.
206
218
219
+ #####` redis_user `
220
+
221
+ Redis system user. Default: undef (string)
222
+ Default 'undef' results to 'root' as redis system user
223
+
224
+ Some redis install packages create the redis system user by default (at
225
+ least SLES and Ubuntu provide redis install packages).
226
+ Normally the log directory and the pid directory are created also by
227
+ the redis install package. Therefor, these values must be adjusted too.
228
+
229
+
230
+ #####` redis_group `
231
+
232
+ Redis system group. Default: undef (string)
233
+ Default 'undef' results to 'root' as redis system group
234
+
207
235
####Defined Type: ` redis::server `
208
236
209
237
Used to configure redis instances. You can setup multiple redis servers on the
0 commit comments