diff --git a/manifests/init.pp b/manifests/init.pp index 1807b34..3b482a5 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -239,7 +239,7 @@ class mastodon ( timeout => 0, require => File['/usr/local/bin/install_mastodon.sh'], } - $real_config = $mastodon_config + { + $built_config = { LOCAL_DOMAIN => $hostname, DB_PASS => $db_password, DB_USER => $db_user, @@ -249,6 +249,7 @@ class mastodon ( SECRET_KEY_BASE => $secret_key_base, OTP_SECRET => $otp_secret, } + $real_config = $mastodon_config + $built_config file { "${mastodon_home}/live/.env.production": ensure => $ensure, content => template('mastodon/env.production.erb'),