Puppet Enterprise

This article is going to brief about the Puppet Server – Enterprise installation and configuration. We are going to install the puppet server  in monolithic mode. In monolithic installation, Puppet Master , Puppet console , Puppet DB will be installing on one node. This is the simple method to evaluate puppet enterprise and you can manage up to 500 puppet agent nodes. To know more about Monolithic installation vs Split installation , please refer this article.

Prerequisites:

Installation and Configuration

1. Copy the downloaded Puppet Enterprise package to /var/tmp

root@puppet:~# cd /var/tmp
 root@puppet:/var/tmp# ls -ltr
 total 257792
 -rw-r--r-- 1 root root 263943064 Jun 17 12:16 puppet-enterprise-2017.2.1-ubuntu-16.04-amd64.tar.gz
 drwx------ 3 root root 4096 Aug 12 13:38 systemd-private-87231161a7604793aa431173aa495d16-systemd-timesyncd.service-4CAKrv
 root@puppet:/var/tmp#

2. Un-compress the package.

root@puppet:/var/tmp# gunzip puppet-enterprise-2017.2.1-ubuntu-16.04-amd64.tar.gz

root@puppet:/var/tmp# ls -ltr
total 257792
-rw-r--r-- 1 root root 263943064 Jun 17 12:16 puppet-enterprise-2017.2.1-ubuntu-16.04-amd64.tar.gz
drwx------ 3 root root 4096 Aug 12 13:38 systemd-private-87231161a7604793aa431173aa495d16-systemd-timesyncd.service-4CAKrv
drwxr-xr-x 4 root root 4096 Aug 12 14:40 puppet-enterprise-2017.2.1-ubuntu-16.04-amd64

3. .Navigate to the puppet enterprise directory and list the contents.

root@puppet:/var/tmp# cd puppet-enterprise-2017.2.1-ubuntu-16.04-amd64
root@puppet:/var/tmp/puppet-enterprise-2017.2.1-ubuntu-16.04-amd64# ls -ltr
total 220
-rw-r--r-- 1 root root 1225 Apr 4 03:10 README.markdown
-rw-r--r-- 1 root root 19630 Apr 29 04:12 LICENSE.txt
-rw-r--r-- 1 root root 9 May 10 22:33 VERSION
-rwxr-xr-x 1 root root 136894 May 10 22:33 puppet-enterprise-uninstaller
-rwxr-xr-x 1 root root 34134 May 10 22:33 puppet-enterprise-installer
drwxr-xr-x 3 root root 4096 Aug 12 14:08 packages
drwxr-xr-x 2 root root 4096 Aug 12 14:08 conf.d
-rw------- 1 root root 8387 Aug 12 14:43 uninstall_log.lastrun.puppet.hans-karri.com.log
root@puppet:/var/tmp/puppet-enterprise-2017.2.1-ubuntu-16.04-amd64#

4. Execute puppet enterprise installer and go forward as instructions

root@puppet:/var/tmp/puppet-enterprise-2017.2.1-ubuntu-16.04-amd64# ./puppet-enterprise-installer

==================================================================================

Puppet Enterprise v2015.3.1 installer

Puppet Enterprise documentation can be found at http://docs.puppetlabs.com/pe/2015.3/

-----------------------------------------------------------------------------------

STEP 1: GUIDED INSTALLATION

Before you begin, choose an installation method. We've provided a few paths to choose from.

- Perform a guided installation using the web-based interface. Think of this as an installation interview in which we ask you exactly how you want to install PE.
In order to use the web-based installer, you must be able to access this machine on port 3000 and provide the SSH credentials of a user with root access. This
method will login to servers on your behalf, install Puppet Enterprise and get you up and running fairly quickly.

- Use the web-based interface to create an answer file so that you can log in to the servers yourself and perform the installation locally. If you choose not to
use the web-based interface, you can write your own answer file, or use the answer file(s) provided in the PE installation tarball. Refer to Answer File
Installation (http://docs.puppetlabs.com/pe/2015.3/install_automated.html), which provides an overview on installing PE with an answer file.

?? Install packages and perform a guided install? [Y/n] y

Installing setup packages.

Please go to https://puppet.hans-karri:3000 in your browser to continue installation. Be sure to use https:// and that port 3000 is reachable through the firewall.

5. Open the browser and enter the URL which is provided in the previous command output. (https://puppet.hans-karri:3000).
If you do not have DNS configured , use the IP address.

6. starting the puppet GUI

7. Enter the FQDN and host alias. and DB password

8. Follow the Instruction and finally after installation login page will be available

9.  Once you have logged in as admin , you will get the overview console like below.

Checking puppet version

root@puppet:/var/tmp/puppet-enterprise-2017.2.1-ubuntu-16.04-amd64# puppet --version
4.10.1
root@puppet:/var/tmp/puppet-enterprise-2017.2.1-ubuntu-16.04-amd64#