diff --git a/manifests/init.pp b/manifests/init.pp index 9e57160..735efc0 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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'),