diff --git a/manifests/init.pp b/manifests/init.pp index 758039069..941142270 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -48,8 +48,6 @@ # # === Advanced parameters: # -# $foreman_url:: URL on which foreman is going to run -# # $unattended:: Should Foreman manage host provisioning as well # # $unattended_url:: URL hosts will retrieve templates from during build (normally http as many installers don't support https) @@ -193,7 +191,6 @@ # $keycloak_realm:: The realm as passed to keycloak-httpd-client-install # class foreman ( - Stdlib::HTTPUrl $foreman_url = $foreman::params::foreman_url, Boolean $unattended = $foreman::params::unattended, Optional[Stdlib::HTTPUrl] $unattended_url = $foreman::params::unattended_url, Boolean $apache = $foreman::params::apache, @@ -296,6 +293,8 @@ timeout => 0, } + $foreman_url = "https://${foreman::servername}" + include foreman::install include foreman::config include foreman::database