Foreman Installation Help

Hello guys

Sorry but I need some help installing foreman for the first time, reading the docs there are too many option which is good but Im confused

I have a puppet server 5 already running, puppetdb is already running on the same server also, so I want to install foreman on it, do you know if the options

given bellow will work? I created a db already called foreman, the user foreman and the password, I installed foreman 1.15 repo , this PostgreSQL is the same

used by puppet, any advice on this? should I install a separate engine like MySQL to use with foreman and leave PostgreSQL alone for puppetdb usage?

foreman-installer --foreman-db-host=x.x.x.x
--foreman-db-database=foreman --foreman-db-adapter=postgresql --foreman-db-username=foreman --foreman-db-password=thesecretpassword --foreman-admin-email=user@domain.com
--foreman-admin-password=SZENhbFNvQCzXH8u
--foreman-admin-username=foremanadmin --puppet-server=false --puppet-agent=false --foreman-db-manage=false

Thanks

Regards
I agree that the installer is complex and the wealth of options and tweaks is initially confusing.

If you don't want to install puppet at all you can just pass the --no-enable-puppet option which will fully disable the puppet module within the installer. You also need the --foreman-db-type=postgresql to be present.

Apart from that I think you are probably ok, assuming you want the rest of the defaults.

A better approach may be it initially use the interactive installer (foreman-installer -i), and spend a little time going through the options there, I generally use it to build a foreman-answers.yaml then if I am rebuilding or doing another temporary test server just use that file.

··· On Thursday, 23 November 2017 19:23:13 UTC, Kernel Panic wrote:

Hello guys

Sorry but I need some help installing foreman for the first time,
reading the docs there are too many option which is good but Im confused

I have a puppet server 5 already running, puppetdb is already running on
the same server also, so I want to install foreman on it, do you know if
the options

given bellow will work? I created a db already called foreman, the user
foreman and the password, I installed foreman 1.15 repo , this
PostgreSQL is the same

used by puppet, any advice on this? should I install a separate engine
like MySQL to use with foreman and leave PostgreSQL alone for puppetdb
usage?

foreman-installer --foreman-db-host=x.x.x.x
--foreman-db-database=foreman --foreman-db-adapter=postgresql
--foreman-db-username=foreman --foreman-db-password=thesecretpassword
--foreman-admin-email=us...@domain.com <javascript:>
--foreman-admin-password=SZENhbFNvQCzXH8u
--foreman-admin-username=foremanadmin --puppet-server=false
--puppet-agent=false --foreman-db-manage=false

Thanks

Regards

Hi Scott
Thanks for the tip, I'm gonna try that and see how it goes, and yes, the idea is not to install the whole puppetserver because I have it configured already along with PostgreSQL and puppetdb.

Regards!


··· On 11/24/2017 06:42 AM, Callum Scott wrote:
I agree that the installer is complex and the wealth of options and
tweaks is initially confusing.

If you don't want to install puppet at all you can just pass the
--no-enable-puppet option which will fully disable the puppet module
within the installer. You also need the --foreman-db-type=postgresql
to be present.

Apart from that I think you are probably ok, assuming you want the
rest of the defaults.

A better approach may be it initially use the interactive installer
(foreman-installer -i), and spend a little time going through the
options there, I generally use it to build a foreman-answers.yaml
then if I am rebuilding or doing another temporary test server just
use that file.

On Thursday, 23 November 2017 19:23:13 UTC, Kernel Panic wrote:

Hello guys

Sorry but I need some help installing foreman for the first time,
reading the docs there are too many option which is good but Im
confused

I have a puppet server 5 already running, puppetdb is already
running on
the same server also, so I want to install foreman on it, do you
know if
the options

given bellow will work? I created a db already called foreman, the
user
foreman and the password, I installed foreman 1.15 repo , this
PostgreSQL is the same

used by puppet, any advice on this? should I install a separate
engine
like MySQL to use with foreman and leave PostgreSQL alone for
puppetdb
usage?

foreman-installer --foreman-db-host=x.x.x.x
--foreman-db-database=foreman --foreman-db-adapter=postgresql
--foreman-db-username=foreman --foreman-db-password=thesecretpassword
--foreman-admin-email=us...@domain.com <javascript:>
--foreman-admin-password=SZENhbFNvQCzXH8u
--foreman-admin-username=foremanadmin --puppet-server=false
--puppet-agent=false --foreman-db-manage=false

Thanks

Regards

--
You received this message because you are subscribed to the Google
Groups "Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to foreman-users+unsubscribe@googlegroups.com
<mailto:foreman-users+unsubscribe@googlegroups.com>.
To post to this group, send email to foreman-users@googlegroups.com
<mailto:foreman-users@googlegroups.com>.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.