Where to set the foreman_url value?

Hi,

I ran into the issue that the foreman_url that is used in the kickstart
template (provisioning Redhat) contains something like
"foreman.mydomain.com"
I am using a different hostname so after some googling (I found the
information about setting up emails) and I set this in my
/etc/foreman/settings.yaml

:foreman_url: puppet.mydomain.com

I stopped all, wiped /var/run/foreman/cache and restarted.

This setting was not picked up.

So I went deeper and hacked the default settings to be what I needed in here
/usr/share/foreman/app/models/setting/general.rb

Now my templates are all correct and I see the correct url.

What did I do wrong?
What is the correct way to set the foreman_url value?

Niels Basjes

Foreman_url is set in the UI - More->Settings->General

HTH,
Greg

Thanks.

ยทยทยท Op dinsdag 13 augustus 2013 23:43:14 UTC+2 schreef Greg Sutcliffe: > > Foreman_url is set in the UI - More->Settings->General > > HTH, > Greg >