Foreman installing Foreman

I may have missed this but has it been documented how a Foreman /
Puppetmaster can provision and install a backup / load balanced / up-dated
Foreman / Puppetmaster?

As a bonus I would also like to see a document on how to install foreman on
an isolated server. I.e. No Internet connection, but having access to a
local repository of packages. I can build my own repositories the hard way
and have built a PXE-BOOT / Puppet server that can also build a DVD iso
that can be used to build its replacement.

When needed I will be able to extend the process to include Foreman. At the
moment on my current contract I am collecting RPMs but it would be so much
nicer if there was a build local foreman/puppet repository script.

Regards, Mike.

Hello

> I may have missed this but has it been documented how a Foreman /
> Puppetmaster can provision and install a backup / load balanced / up-dated
> Foreman / Puppetmaster?

Please search this mailing list, we have some options.

Basically, it's easy to setup. Just a matter of DB replication.

> As a bonus I would also like to see a document on how to install foreman on
> an isolated server. I.e. No Internet connection, but having access to a
> local repository of packages. I can build my own repositories the hard way
> and have built a PXE-BOOT / Puppet server that can also build a DVD iso
> that can be used to build its replacement.

Installation is no different than on server that is on-line. You can
just define OSes with repository URLs pointing to your local repos.
Actually, most of us does this and we go further. There is software for
managing repositories (e.g. Pulp Project) or orchestrating repo
management (e.g. Katello Project). Both play well with Foreman. More
than that actually, Katello is being rewritten as Foreman Plugin and
will be deepely integrated. We are not there yet, but definitely stay
tuned if you are dealing with RPMs, this can save huge amount of your
time!

> When needed I will be able to extend the process to include Foreman. At the
> moment on my current contract I am collecting RPMs but it would be so much
> nicer if there was a build local foreman/puppet repository script.

Check out our API which is very extensive. We are currently re-designing
it and in 1.3 version (and also 1.4 version) the V2 API is marked as
"unstable". It will change until we stabilize it. You may use V1 API
which is not that powerful and documented. Docs are on our home page.

Also try Foreman Plugins for additional integration:

I think for integration you may like foreman_hooks:

https://github.com/theforeman/foreman_hooks

Good luck with that and please report your setup on the list. We love to
hear success stories and also references:

··· -- Later,

Lukas “lzap” Zapletal
irc: lzap #theforeman