update config variable
This commit is contained in:
parent
2be0972f20
commit
9cd409ced7
1 changed files with 2 additions and 2 deletions
|
@ -71,7 +71,7 @@ class mastodon (
|
|||
String $otp_secret = '0tpS3cr3t',
|
||||
String $vapid_private_key = 'S3cr3tK3i',
|
||||
String $vapid_public_key = 'S3cr3tK3i',
|
||||
Hash $mastodon_config = {
|
||||
Hash $config = {
|
||||
'LOCAL_DOMAIN' => 'example.com',
|
||||
'REDIS_HOST' => '127.0.0.1',
|
||||
'REDIS_PORT' => 6379,
|
||||
|
@ -284,7 +284,7 @@ class mastodon (
|
|||
'SECRET_KEY_BASE' => $secret_key_base,
|
||||
'OTP_SECRET' => $otp_secret,
|
||||
}
|
||||
$real_config = $mastodon_config + $built_config
|
||||
$real_config = $config + $built_config
|
||||
file { "${mastodon_home}/live/.env.production":
|
||||
ensure => $ensure,
|
||||
content => template('mastodon/env.production.erb'),
|
||||
|
|
Loading…
Reference in a new issue