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’ve already installed Puppet (without a master), but the installer will setup Foreman and the puppet master with Passenger and the Smart Proxy by default.
For Red Hat variants, run this (replace both instances of ‘el6’ with ‘el5’, ‘f16’ or ‘f17’ as appropriate):
For Debian variants, run this (replace ‘squeeze’ with ‘precise’ if on Ubuntu 12.04):
The procedure is initially interactive, allowing changes to the configuration and then the option is given to run Puppet to perform the installation:
After Puppet runs, Foreman will be accessible at
https://fqdn/ with a default
username/password of “admin” and “changeme”. To complete the installation,
click on More > Configuration > Smart Proxies and add a new proxy with the URL
The 2021 community survey is now live! Please take a few minutes to fill it out and help us make Foreman better!