Add option to manage redis or not
This commit is contained in:
parent
8e63c2d852
commit
1bb9122721
1 changed files with 4 additions and 1 deletions
|
@ -122,6 +122,7 @@ class mastodon (
|
|||
String $github_token = '',
|
||||
Integer $media_retention_days = 7,
|
||||
Integer $cards_retention_days = 180,
|
||||
Boolean $manage_redis = true,
|
||||
) {
|
||||
case $ensure {
|
||||
default: {
|
||||
|
@ -192,7 +193,9 @@ class mastodon (
|
|||
}
|
||||
class { 'postgresql::server':
|
||||
}
|
||||
include redis
|
||||
if ($manage_redis) {
|
||||
include redis
|
||||
}
|
||||
exec { 'enable_corepack':
|
||||
command => '/usr/bin/corepack enable',
|
||||
creates => '/usr/bin/yarn',
|
||||
|
|
Loading…
Reference in a new issue