File tree 4 files changed +11
-0
lines changed
4 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 15
15
- Server: add include parameter for config
16
16
- allows for compatibility with Amazon Linux
17
17
- Add cluster params documentation + enable cluster support
18
+ - Add redis_disable_commands
18
19
19
20
## 2016-06-24 - 1.9.0 (Feature/Bugfix release)
20
21
Original file line number Diff line number Diff line change @@ -370,6 +370,10 @@ Max clients of Redis instance. Default: undef (number)
370
370
371
371
Configure the no-appendfsync-on-rewrite variable. Set to yes to enable the option. Defaults off. Default: false (boolean)
372
372
373
+ #####` redis_disable_commands `
374
+
375
+ List of commands to disable on the server. Default: [ ]
376
+
373
377
#####` aof_rewrite_percentage `
374
378
375
379
Configure the percentage size difference between the last aof filesize and the newest to trigger a rewrite. Default 100
Original file line number Diff line number Diff line change 57
57
# Define the path for the append file. Optional. Default: undef
58
58
# [*redis_append_enable*]
59
59
# Enable or disable the appendonly file option. Default: false
60
+ # [*redis_disable_commands]
61
+ # List of commands to disable on the server. Default: []
60
62
# [*slaveof*]
61
63
# Configure Redis Master on a slave
62
64
# [*masterauth*]
149
151
$redis_enabled_append_file = false ,
150
152
$redis_append_file = undef ,
151
153
$redis_append_enable = false ,
154
+ $redis_disable_commands = [],
152
155
$slaveof = undef ,
153
156
$masterauth = undef ,
154
157
$slave_serve_stale_data = true ,
Original file line number Diff line number Diff line change @@ -247,6 +247,9 @@ repl-timeout <%= @repl_timeout %>
247
247
# an empty string:
248
248
#
249
249
# rename-command CONFIG ""
250
+ <% @redis_disable_commands . each do |command | -%>
251
+ rename-command <%= command %> ""
252
+ <% end -%>
250
253
251
254
################################### LIMITS ####################################
252
255
You can’t perform that action at this time.
0 commit comments