ubuntu puppet enterprize 18.04

kiran@kiran:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:        18.04
Codename:       bionic
kiran@kiran:~$


kiran@kiran:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            957M     0  957M   0% /dev
tmpfs           198M  2.0M  196M   2% /run
/dev/sda2        15G  5.6G  8.4G  41% /
tmpfs           986M     0  986M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           986M     0  986M   0% /sys/fs/cgroup
/dev/sda5       2.9G   14M  2.8G   1% /home
/dev/sda3        30G  1.1G   27G   4% /var
/dev/sda4       976M  143M  766M  16% /boot
/dev/loop0       87M   87M     0 100% /snap/core/4917
tmpfs           197M   20K  197M   1% /run/user/125
tmpfs           197M   52K  197M   1% /run/user/1000
tmpfs           197M     0  197M   0% /run/user/0
kiran@kiran:~$

kiran@kiran:~$ sudo su -
[sudo] password for kiran:
root@kiran:~# cd /home/kiran/Downloads/
root@kiran:/home/kiran/Downloads# ls
puppet-enterprise-2019.1.1-ubuntu-18.04-amd64
root@kiran:/home/kiran/Downloads# cd puppet-enterprise-2019.1.1-ubuntu-18.04-amd64/
root@kiran:/home/kiran/Downloads/puppet-enterprise-2019.1.1-ubuntu-18.04-amd64# ls
conf.d       locales                      puppet-enterprise-uninstaller
LICENSE.txt  packages                     README.markdown
links        puppet-enterprise-installer  VERSION
root@kiran:/home/kiran/Downloads/puppet-enterprise-2019.1.1-ubuntu-18.04-amd64# ./puppet-enterprise-installer
/home/kiran/Downloads/puppet-enterprise-2019.1.1-ubuntu-18.04-amd64 /home/kiran/Downloads/puppet-enterprise-2019.1.1-ubuntu-18.04-amd64
=============================================================
    Puppet Enterprise Installer
=============================================================

## Installer analytics are enabled by default.
## To disable, set the DISABLE_ANALYTICS environment variable and rerun this script. For example, "sudo DISABLE_ANALYTICS=1 ./puppet-enterprise-installer".
## If puppet_enterprise::send_analytics_data is set to false in your existing pe.conf, this is not necessary and analytics will be disabled.

Puppet Enterprise offers the following methods of installation:

[1] Express Installation (Recommended)

This method will install PE and provide you with a link at the end of the installation to reset your PE console admin password

Make sure to click on the link and reset your password before proceeding to use PE

[2] Text-mode Install

This method will open your EDITOR (vi) with a PE config file (pe.conf) for you to edit before you proceed with installation.

The pe.conf file is a HOCON formatted file that declares parameters and values needed to install and configure PE.
We recommend that you review it carefully before proceeding.

[3] Graphical-mode Install

This method will install and configure a temporary webserver to walk you through the various configuration options.

NOTE: This method requires you to be able to access port 3000 on this machine from your desktop web browser.

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


 How to proceed? [1]: 3

## We're installing the Puppet Agent...

2019-10-03T04:17:47.082+00:00 Running command: mkdir -p /opt/puppetlabs/server/data/packages/public/2019.1.1/ubuntu-18.04-amd64-6.4.3
2019-10-03T04:17:47.101+00:00 Running command: cp -r -L /home/kiran/Downloads/puppet-enterprise-2019.1.1-ubuntu-18.04-amd64/packages/ubuntu-18.04-amd64/* /opt/puppetlabs/server/data/packages/public/2019.1.1/ubuntu-18.04-amd64-6.4.3
2019-10-03T04:17:49.806+00:00 Running command: rm -f /opt/puppetlabs/server/data/packages/public/2019.1.1/puppet_enterprise
2019-10-03T04:17:49.815+00:00 Running command: ln -s /opt/puppetlabs/server/data/packages/public/2019.1.1/ubuntu-18.04-amd64-6.4.3 /opt/puppetlabs/server/data/packages/public/2019.1.1/puppet_enterprise
2019-10-03T04:17:49.832+00:00 Running command: cp -r -L /home/kiran/Downloads/puppet-enterprise-2019.1.1-ubuntu-18.04-amd64/packages/GPG-KEY-puppet* /opt/puppetlabs/server/data/packages/public
2019-10-03T04:17:49.857+00:00 Running command: mkdir -p /etc/puppetlabs/puppet
2019-10-03T04:17:49.876+00:00 Running command: cp conf.d/global_hiera.yaml /etc/puppetlabs/puppet/hiera.yaml
2019-10-03T04:17:49.887+00:00 Running command: APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add /home/kiran/Downloads/puppet-enterprise-2019.1.1-ubuntu-18.04-amd64/packages/GPG-KEY-puppet
OK
2019-10-03T04:17:50.360+00:00 Running command: APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add /home/kiran/Downloads/puppet-enterprise-2019.1.1-ubuntu-18.04-amd64/packages/GPG-KEY-puppet-2025-04-06
OK
2019-10-03T04:17:50.699+00:00 Running command: mkdir -p /etc/apt/sources.list.d
2019-10-03T04:17:50.719+00:00 Running command: echo 'deb file:/opt/puppetlabs/server/data/packages/public/2019.1.1/puppet_enterprise ./' > /etc/apt/sources.list.d/puppet_enterprise.list
2019-10-03T04:17:50.730+00:00 Running command: apt-get update -q -y
Get:1 file:/opt/puppetlabs/server/data/packages/public/2019.1.1/puppet_enterprise ./ InRelease
Ign:1 file:/opt/puppetlabs/server/data/packages/public/2019.1.1/puppet_enterprise ./ InRelease
Get:2 file:/opt/puppetlabs/server/data/packages/public/2019.1.1/puppet_enterprise ./ Release [543 B]
Get:2 file:/opt/puppetlabs/server/data/packages/public/2019.1.1/puppet_enterprise ./ Release [543 B]
Get:3 file:/opt/puppetlabs/server/data/packages/public/2019.1.1/puppet_enterprise ./ Release.gpg [819 B]
Get:3 file:/opt/puppetlabs/server/data/packages/public/2019.1.1/puppet_enterprise ./ Release.gpg [819 B]
Get:4 file:/opt/puppetlabs/server/data/packages/public/2019.1.1/puppet_enterprise ./ Packages [7,365 B]
Hit:5 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:7 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:8 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic/main Translation-en [516 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 DEP-11 Metadata [477 kB]
Get:11 http://archive.ubuntu.com/ubuntu bionic/main DEP-11 48x48 Icons [118 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic/main DEP-11 64x64 Icons [245 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic/restricted Translation-en [3,584 B]
Get:14 http://archive.ubuntu.com/ubuntu bionic/universe Translation-en [4,941 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic/universe amd64 DEP-11 Metadata [3,287 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic/universe DEP-11 48x48 Icons [2,151 kB]
Get:17 http://archive.ubuntu.com/ubuntu bionic/universe DEP-11 64x64 Icons [8,420 kB]
Get:18 http://archive.ubuntu.com/ubuntu bionic/multiverse Translation-en [108 kB]
Get:19 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 DEP-11 Metadata [49.7 kB]
Get:20 http://archive.ubuntu.com/ubuntu bionic/multiverse DEP-11 48x48 Icons [8,931 B]
Get:21 http://archive.ubuntu.com/ubuntu bionic/multiverse DEP-11 64x64 Icons [225 kB]
Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [268 kB]
Get:23 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [295 kB]
Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [73.8 kB]
Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [147 kB]
Get:26 http://archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [4,844 B]
Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [310 kB]
Get:28 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [254 kB]
Get:29 http://archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [192 kB]
Get:30 http://archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [443 kB]
Get:31 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [3,904 B]
Get:32 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Get:33 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse DEP-11 48x48 Icons [29 B]
Get:34 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse DEP-11 64x64 Icons [2,638 B]
Get:35 http://archive.ubuntu.com/ubuntu bionic-backports/main Translation-en [1,644 B]
Get:36 http://archive.ubuntu.com/ubuntu bionic-backports/universe Translation-en [1,856 B]
Get:37 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [7,924 B]
Get:38 http://archive.ubuntu.com/ubuntu bionic-backports/universe DEP-11 48x48 Icons [29 B]
Get:39 http://archive.ubuntu.com/ubuntu bionic-backports/universe DEP-11 64x64 Icons [29 B]
Get:40 http://archive.ubuntu.com/ubuntu bionic-security/main Translation-en [175 kB]
Get:41 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [38.6 kB]
Get:42 http://archive.ubuntu.com/ubuntu bionic-security/main DEP-11 48x48 Icons [17.6 kB]
Get:43 http://archive.ubuntu.com/ubuntu bionic-security/main DEP-11 64x64 Icons [41.5 kB]
Get:44 http://archive.ubuntu.com/ubuntu bionic-security/restricted Translation-en [3,180 B]
Get:45 http://archive.ubuntu.com/ubuntu bionic-security/universe Translation-en [203 kB]
Get:46 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [42.1 kB]
Get:47 http://archive.ubuntu.com/ubuntu bionic-security/universe DEP-11 48x48 Icons [16.4 kB]
Get:48 http://archive.ubuntu.com/ubuntu bionic-security/universe DEP-11 64x64 Icons [111 kB]
Get:49 http://archive.ubuntu.com/ubuntu bionic-security/multiverse Translation-en [2,428 B]
Get:50 http://archive.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,464 B]
Get:51 http://archive.ubuntu.com/ubuntu bionic-security/multiverse DEP-11 48x48 Icons [29 B]
Get:52 http://archive.ubuntu.com/ubuntu bionic-security/multiverse DEP-11 64x64 Icons [2,638 B]
Fetched 23.4 MB in 21s (1,092 kB/s)
Reading package lists...
grep: : No such file or directory
2019-10-03T04:18:55.918+00:00 Running command: DEBIAN_FRONTEND=noninteractive apt-get install -y -o Apt::Get::Purge=false -o Dpkg::Options::='--force-confold' -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confmiss' --no-install-recommends puppet-agent=6.4.3* pe-installer pe-modules
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  pe-installer pe-modules puppet-agent
0 upgraded, 3 newly installed, 0 to remove and 169 not upgraded.
Need to get 0 B/51.5 MB of archives.
After this operation, 260 MB of additional disk space will be used.
Get:1 file:/opt/puppetlabs/server/data/packages/public/2019.1.1/puppet_enterprise ./ puppet-agent 6.4.3-1bionic [18.9 MB]
Get:2 file:/opt/puppetlabs/server/data/packages/public/2019.1.1/puppet_enterprise ./ pe-installer 2019.1.1.0-1bionic [32.1 MB]
Get:3 file:/opt/puppetlabs/server/data/packages/public/2019.1.1/puppet_enterprise ./ pe-modules 2019.1.1.1-1bionic [481 kB]
Selecting previously unselected package puppet-agent.
(Reading database ... 169049 files and directories currently installed.)
Preparing to unpack .../puppet-agent_6.4.3-1bionic_amd64.deb ...
Unpacking puppet-agent (6.4.3-1bionic) ...
Selecting previously unselected package pe-installer.
Preparing to unpack .../pe-installer_2019.1.1.0-1bionic_amd64.deb ...
Unpacking pe-installer (2019.1.1.0-1bionic) ...
Selecting previously unselected package pe-modules.
Preparing to unpack .../pe-modules_2019.1.1.1-1bionic_amd64.deb ...
Unpacking pe-modules (2019.1.1.1-1bionic) ...
Setting up puppet-agent (6.4.3-1bionic) ...

Configuration file '/usr/lib/tmpfiles.d/puppet-agent.conf', does not exist on system.
Installing new config file as you requested.

Configuration file '/opt/puppetlabs/puppet/share/vim/puppet-vimfiles/ftdetect/puppet.vim', does not exist on system.
Installing new config file as you requested.

Configuration file '/opt/puppetlabs/puppet/share/vim/puppet-vimfiles/ftplugin/puppet.vim', does not exist on system.
Installing new config file as you requested.

Configuration file '/opt/puppetlabs/puppet/share/vim/puppet-vimfiles/indent/puppet.vim', does not exist on system.
Installing new config file as you requested.

Configuration file '/opt/puppetlabs/puppet/share/vim/puppet-vimfiles/syntax/puppet.vim', does not exist on system.
Installing new config file as you requested.

Configuration file '/etc/default/puppet', does not exist on system.
Installing new config file as you requested.

Configuration file '/etc/default/pxp-agent', does not exist on system.
Installing new config file as you requested.

Configuration file '/etc/logrotate.d/pxp-agent', does not exist on system.
Installing new config file as you requested.

Configuration file '/etc/profile.d/puppet-agent.csh', does not exist on system.
Installing new config file as you requested.

Configuration file '/etc/profile.d/puppet-agent.sh', does not exist on system.
Installing new config file as you requested.

Configuration file '/etc/puppetlabs/code/environments/production/environment.conf', does not exist on system.
Installing new config file as you requested.

Configuration file '/etc/puppetlabs/code/environments/production/hiera.yaml', does not exist on system.
Installing new config file as you requested.

Configuration file '/etc/puppetlabs/puppet/auth.conf', does not exist on system.
Installing new config file as you requested.

Configuration file '/etc/puppetlabs/puppet/hiera.yaml'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
 ==> Keeping old config file as default.

Configuration file '/etc/puppetlabs/puppet/puppet.conf', does not exist on system.
Installing new config file as you requested.
Created symlink /etc/systemd/system/multi-user.target.wants/puppet.service → /lib/systemd/system/puppet.service.
Created symlink /etc/systemd/system/multi-user.target.wants/pxp-agent.service → /lib/systemd/system/pxp-agent.service.
Removed /etc/systemd/system/multi-user.target.wants/pxp-agent.service.
Setting up pe-installer (2019.1.1.0-1bionic) ...
Setting up pe-modules (2019.1.1.1-1bionic) ...

Configuration file '/etc/puppetlabs/enterprise/README', does not exist on system.
Installing new config file as you requested.

Configuration file '/etc/puppetlabs/enterprise/hiera.yaml', does not exist on system.
Installing new config file as you requested.
Processing triggers for libc-bin (2.27-3ubuntu1) ...

## We're preparing the Web Installer...

2019-10-03T04:21:20.001+00:00 Running command: mkdir -p /opt/puppetlabs/puppet/share/installer/installer
2019-10-03T04:21:20.038+00:00 Running command: cp -pR /home/kiran/Downloads/puppet-enterprise-2019.1.1-ubuntu-18.04-amd64/* /opt/puppetlabs/puppet/share/installer/installer/

## Go to https://kiran:3000 in your browser to continue installation.


## Be sure to use 'https://' and that port 3000 is reachable through the firewall.

2019-10-03T04:21:26.094+00:00 Running command: RACK_ENV=production /opt/puppetlabs/puppet/share/installer/vendor/bundler/bin/thin start --debug -p 3000 -a 0.0.0.0 --ssl --ssl-disable-verify &> /dev/null
https://docs.google.com/document/d/e/2PACX-1vRPbqb_2aBnER4wvp8JBc9FNeRrFTUP8wNh24vJ15b7_Ro1NTWcBWmqVDr1LwepERBYbwvDcS_CqPGf/pub

Comments

Popular posts from this blog

ansible redhat cluster qorum qdevice

PE 3.9.0 on centos 6

gfs2 cluster