From 506e1d336dcec6142a3208634612958a2d8d5b68 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Tue, 28 Nov 2023 19:26:55 +0200 Subject: [PATCH] add params --- manifests/init.pp | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index e51b4f0..edde3b8 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -9,9 +9,6 @@ # [*mastodon_home*] # String path to Mastodon user home directory. Default /opt/mastodon # -# [*db_password*] -# String with Database password. -# # [*mastodon_version*] # String with Mastodon version (code tag) to install. Default: v4.2.1 # @@ -27,6 +24,33 @@ # [*mastodon_config*] # Hash with the configuration to store in .env.production # +# [*db_host*] +# String with database host name or socket. +# +# [*db_name*] +# String with database name. +# +# [*db_user*] +# String with database user name. +# +# [*db_password*] +# String with database user password. +# +# [*db_port*] +# Integer with database port. +# +# [*secret_key_base*] +# String with secret key base. +# +# [*otp_secret*] +# String with OTP (One-Time-Password) secret. +# +# [*vapid_private_key*] +# String with VAPID private key +# +# [*vapid_public_key*] +# String with VAPID public key +# class mastodon ( String $ensure = 'present', String $hostname = 'mastodon.example.org',