Install Forman on CentOS 7

Installing Forman on CentOS 7 is fairly simple. Lets go through quick install step by step. We already have base CentOS 7 deployed and for the perpose of this tutorial selinux and firewalld are desabled.

1. Use recent version of Puppet

rpm -ivh

2. Enable EPEL

yum -y install epel-release

3. Download installer

yum -y install foreman-installer

4. Run installer


After install you will see information on the screen on how to login to your new Forman web app.
In case you restarted your system or need to change your password execute the following

foreman-rake permissions:reset

Add NTP Module to Forman

puppet module install -i /etc/puppet/environments/production/modules puppetlabs/ntp

We will need to add this module from GUI Configure -> Puppet classes -> Import from Forman

Run puppet agent on your Forman host

puppet agent --test