File tree 3 files changed +12
-3
lines changed
3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 5
5
- Fix broken systemd part for Debian
6
6
- Fix cluster coverage error in redis.conf template
7
7
- Add required update-rc.d headers to debian init.d scripts
8
+ - Fix ensure_packages expects an array
8
9
9
10
#### Features:
10
11
11
- - redis and sentinel: allow turning off protected mode
12
- - Added option to redis.conf: client-output-buffer-limit, as a hash
13
- - Added option to redis.conf: repl_backlog_size, a simple value
12
+ - Redis, Sentinel: allow turning off protected mode
13
+ - Server: Added option to redis.conf: client-output-buffer-limit, as a hash
14
+ - Server: Added option to redis.conf: repl_backlog_size, a simple value
15
+ - Server: add include parameter for config
14
16
- allows for compatibility with Amazon Linux
15
17
- Add cluster params documentation + enable cluster support
16
18
Original file line number Diff line number Diff line change 115
115
# [*cluster_require_full_coverage*]
116
116
# By default Redis Cluster nodes stop accepting queries if they detect there
117
117
# is at least an hash slot uncovered.
118
+ #
119
+ # [*include*]
120
+ # Array of extra configs to include Example: [ '/etc/redis/local.conf' ]
118
121
119
122
define redis::server (
120
123
$redis_name = $name,
164
167
$cluster_migration_barrier = undef ,
165
168
$cluster_require_full_coverage = true ,
166
169
$protected_mode = undef ,
170
+ $include = [],
167
171
) {
168
172
$redis_user = $::redis::install::redis_user
169
173
$redis_group = $::redis::install::redis_group
Original file line number Diff line number Diff line change @@ -672,3 +672,6 @@ client-output-buffer-limit <%= key -%> <%= value %>
672
672
#
673
673
# include /path/to/local.conf
674
674
# include /path/to/other.conf
675
+ <% @include . each do |config | %>
676
+ include <%= config %>
677
+ <% end %>
You can’t perform that action at this time.
0 commit comments