Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ The following parameters are available in the `redis` class:

##### <a name="-redis--provider"></a>`provider`

Data type: `String[1]`
Data type: `Enum['redis', 'valkey']`

Name of the redis server implementation.

Expand Down
4 changes: 2 additions & 2 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -353,14 +353,14 @@
# @param acls
# This is a way to pass an array of raw ACLs to Redis. The ACLs must be
# in the form of:
#
#
# user USERNAME [additional ACL options]
#
# @param manage_service_file
# Determine if the systemd service file should be managed
#
class redis (
String[1] $provider = $redis::params::provider,
Enum['redis', 'valkey'] $provider = $redis::params::provider,
Boolean $activerehashing = true,
Boolean $aof_load_truncated = true,
Boolean $aof_rewrite_incremental_fsync = true,
Expand Down
2 changes: 1 addition & 1 deletion templates/service_templates/redis.service.epp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%- |
String $provider,
Enum['redis', 'valkey'] $provider,
Boolean $ulimit_managed,
Integer[0] $ulimit,
Stdlib::Absolutepath $bin_path,
Expand Down
Loading