Newer version available
This quickstart guide is for Foreman 1.10, but the latest version is 3.13.
The Foreman installer is a collection of Puppet modules that installs everything required for a full working Foreman setup. It uses native OS packaging (e.g. RPM and .deb packages) and adds necessary configuration for the complete installation.
Components include the Foreman web UI, Smart Proxy, Passenger (for the puppet master and Foreman itself), and optionally TFTP, DNS and DHCP servers. It is configurable and the Puppet modules can be read or run in “no-op” mode to see what changes it will make.
Other operating systems will need to use alternative installation methods (see the manual).
The Foreman installer uses Puppet to install Foreman. This guide assumes that you have a newly installed operating system, on which the installer will setup Foreman, a Puppet master with Passenger and the Smart Proxy by default.
To provide specific installation instructions, please select your operating system:
First, enable the RHEL Optional and RHSCL repos:
Check the repositories are enabled with yum repolist
after running the above command, as it can silently fail when subscription does not provide it.
More information about accessing RH Software Collections (RHSCL) is available from the Customer Portal.
If you're using RH Satellite 5, you should instead sync and enable the channels there.
First, enable the RHEL Optional and RHSCL repos:
Check the repositories are enabled with yum repolist
after running the above command, as it can silently fail when subscription does not provide it.
More information about accessing RH Software Collections (RHSCL) is available from the Customer Portal.
If you're using RH Satellite 5, you should instead sync and enable the channels there.
Using a recent version of Puppet is recommended, which is available from the Puppet Labs repository. You may skip this and use the older version from EPEL without a problem, however it has reduced community support.
Enable the EPEL (Extra Packages for Enterprise Linux) and the Foreman repos:
Enable the EPEL (Extra Packages for Enterprise Linux) and the Foreman repos:
Using a recent version of Puppet is recommended, which is available from the Puppet Labs repository. You may skip this and use the older version from EPEL without a problem, however it has reduced community support.
Enable the EPEL (Extra Packages for Enterprise Linux) and the Foreman repos:
Enable the EPEL (Extra Packages for Enterprise Linux) and the Foreman repos:
You may optionally use the latest available version of Puppet from the Puppet Labs repositories, which is a bit newer than that provided by Fedora itself.
Enable the Foreman repo:
Note that Puppet Labs does not provide Puppet 3.x packages for jessie.
Enable the Foreman repo:
Using a recent version of Puppet is recommended, which is available from the Puppet Labs repository. You may skip this and use the older version from Debian without a problem, however it has reduced community support.
Enable the Foreman repo:
Using a recent version of Puppet is recommended, which is available from the Puppet Labs repository. You may skip this and use the older version from Ubuntu without a problem, however it has reduced community support.
Enable the Foreman repo:
You may optionally use the latest available version of Puppet from the Puppet Labs repositories, which is a bit newer than that provided by Ubuntu itself.
Enable the Foreman repo:
ping $(hostname -f)
shows the real IP address, not 127.0.1.1. Change or remove this entry from /etc/hosts if present.
The installation run is non-interactive, but the configuration can be customized by supplying any of the options listed in foreman-installer --help
, or by running foreman-installer -i
for interactive mode. More examples are given in the Installation Options section. Adding -v
will disable the progress bar and display all changes. To run the installer, execute:
After it completes, the installer will print some details about where to find Foreman and the Smart Proxy and Puppet master if they were installed along Foreman. Output should be similar to this:
Continue reading the quickstart guide in the manual:
Or view the quickstart screencasts:
Foreman 3.13.0 has been released! Follow the quick start to install it.
Foreman 3.12.1 has been released! Follow the quick start to install it.