Puppet-Enterprise Installation On Centos-7

Download or cp tarball to server

In Below example i have downloaded tar-ball

[root@puppetenterprise ~]# wget https://s3.amazonaws.com/pe-builds/released/2016.5.1/puppet-enterprise-2016.5.1-el-7-x86_64.tar.gz
–2017-01-16 02:31:46– https://s3.amazonaws.com/pe-builds/released/2016.5.1/puppet-enterprise-2016.5.1-el-7-x86_64.tar.gz
Resolving s3.amazonaws.com (s3.amazonaws.com)… 54.231.120.122
Connecting to s3.amazonaws.com (s3.amazonaws.com)|54.231.120.122|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 378391144 (361M) [application/x-tar]
Saving to: ‘puppet-enterprise-2016.5.1-el-7-x86_64.tar.gz’

100%[=====================================================================================================>] 37,83,91,144 11.5MB/s in 45s

2017-01-16 02:32:31 (8.10 MB/s) – ‘puppet-enterprise-2016.5.1-el-7-x86_64.tar.gz’ saved [378391144/378391144]

[root@puppetenterprise ~]# ls -l
total 369528
-rw——-. 1 root root 3596 Jan 4 04:11 anaconda-ks.cfg
-rw-r–r– 1 root root 378391144 Jan 12 03:30 puppet-enterprise-2016.5.1-el-7-x86_64.tar.gz

[root@puppetenterprise ~]# tar -xzvf puppet-enterprise-2016.5.1-el-7-x86_64.tar.gz
puppet-enterprise-2016.5.1-el-7-x86_64/VERSION
puppet-enterprise-2016.5.1-el-7-x86_64/LICENSE.txt
puppet-enterprise-2016.5.1-el-7-x86_64/puppet-enterprise-installer
puppet-enterprise-2016.5.1-el-7-x86_64/puppet-enterprise-uninstaller
puppet-enterprise-2016.5.1-el-7-x86_64/README.markdown
puppet-enterprise-2016.5.1-el-7-x86_64/packages/bootstrap-metadata
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64-package-versions.json
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/pe-activemq-2016.5.5.13.2-1.pe.el7.noarch.rpm
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/pe-bundler-2016.5.1.8.2-1.pe.el7.noarch.rpm
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/pe-client-tools-16.5.2-1.el7.x86_64.rpm
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/pe-console-services-1.6.109-1.el7.noarch.rpm
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/pe-console-services-termini-1.6.109-1.el7.noarch.rpm
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/pe-installer-2016.5.0-0.1rc0.3.el7.x86_64.rpm
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/pe-java-2016.5.1.8.0.111-1.b13.pe.el7.x86_64.rpm
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/pe-license-0.1.5.15-1.pe.el7.noarch.rpm
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/pe-modules-2016.5.0.rc0.7.gec540ab-1.el7.x86_64.rpm
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/pe-nginx-2016.5.1.8.1-1.pe.el7.x86_64.rpm
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/pe-orchestration-services-0.8.5-1.el7.noarch.rpm
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/pe-postgresql-2016.5.9.4.9-1.pe.el7.x86_64.rpm
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/pe-postgresql-contrib-2016.5.9.4.9-1.pe.el7.x86_64.rpm
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/pe-postgresql-devel-2016.5.9.4.9-1.pe.el7.x86_64.rpm
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/pe-postgresql-pglogical-2016.5.1.2.1-1.el7.x86_64.rpm
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/pe-postgresql-server-2016.5.9.4.9-1.pe.el7.x86_64.rpm
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/pe-puppetdb-4.2.5-1.el7.noarch.rpm
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/pe-puppetdb-termini-4.2.5-1.el7.noarch.rpm
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/pe-puppet-enterprise-release-2016.5.1.0-1.pe.el7.noarch.rpm
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/pe-puppet-license-cli-0.1.7.26-1.pe.el7.noarch.rpm
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/pe-puppetserver-2016.5.0.11-1.el7.noarch.rpm
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/pe-r10k-2.5.0.1-1.el7.x86_64.rpm
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/pe-razor-libs-2016.5.3.1.2-1.pe.el7.noarch.rpm
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/pe-razor-server-1.5.0.358-1.pe.el7.noarch.rpm
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/puppet-agent-1.8.2-1.el7.x86_64.rpm
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/repodata/
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/repodata/c602e8ec0b2e7d3b42fb38f12f827636153bdd9b-other.sqlite.bz2
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/repodata/91e11f9488dd33cf5f38e6aacfe32f5d591a3016-other.xml.gz
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/repodata/669796e620186d68ba852e280979d87e32a2aef5-filelists.sqlite.bz2
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/repodata/e34eded45306bc17cbbb64e08f50626f985f7b7b-filelists.xml.gz
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/repodata/0ffd26ce42e3e84b257d84879064ff9a480e76b1-primary.sqlite.bz2
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/repodata/f1ad5f8ae6e6933065f040a68a12cd1c2d12dbfb-primary.xml.gz
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/repodata/repomd.xml
puppet-enterprise-2016.5.1-el-7-x86_64/packages/GPG-KEY-puppetlabs
puppet-enterprise-2016.5.1-el-7-x86_64/packages/GPG-KEY-puppet
puppet-enterprise-2016.5.1-el-7-x86_64/modules/install_modules.txt
puppet-enterprise-2016.5.1-el-7-x86_64/modules/puppetlabs-pe_accounts-2.0.2-6-gd2f698c.tar.gz
puppet-enterprise-2016.5.1-el-7-x86_64/modules/puppetlabs-pe_concat-1.1.2-7-g77ec55b.tar.gz
puppet-enterprise-2016.5.1-el-7-x86_64/modules/puppetlabs-pe_console_prune-0.1.1-9-gfc256c0.tar.gz
puppet-enterprise-2016.5.1-el-7-x86_64/modules/puppetlabs-pe_hocon-2016.2.0.tar.gz
puppet-enterprise-2016.5.1-el-7-x86_64/modules/puppetlabs-pe_infrastructure-2016.5.0.tar.gz
puppet-enterprise-2016.5.1-el-7-x86_64/modules/puppetlabs-pe_inifile-2016.5.0.tar.gz
puppet-enterprise-2016.5.1-el-7-x86_64/modules/puppetlabs-pe_install-2016.5.0.tar.gz
puppet-enterprise-2016.5.1-el-7-x86_64/modules/puppetlabs-pe_java_ks-1.2.4-37-g2d86015.tar.gz
puppet-enterprise-2016.5.1-el-7-x86_64/modules/puppetlabs-pe_manager-2016.5.0.tar.gz
puppet-enterprise-2016.5.1-el-7-x86_64/modules/puppetlabs-pe_nginx-2016.4.0.tar.gz
puppet-enterprise-2016.5.1-el-7-x86_64/modules/puppetlabs-pe_postgresql-2016.5.0.tar.gz
puppet-enterprise-2016.5.1-el-7-x86_64/modules/puppetlabs-pe_puppet_authorization-2016.2.0-rc1.tar.gz
puppet-enterprise-2016.5.1-el-7-x86_64/modules/puppetlabs-pe_r10k-2016.2.0.tar.gz
puppet-enterprise-2016.5.1-el-7-x86_64/modules/puppetlabs-pe_razor-1.0.1.tar.gz
puppet-enterprise-2016.5.1-el-7-x86_64/modules/puppetlabs-pe_repo-2016.5.0.tar.gz
puppet-enterprise-2016.5.1-el-7-x86_64/modules/puppetlabs-pe_staging-2015.3.0.tar.gz
puppet-enterprise-2016.5.1-el-7-x86_64/modules/puppetlabs-pe_support_script-2016.5.0.tar.gz
puppet-enterprise-2016.5.1-el-7-x86_64/modules/puppetlabs-puppet_enterprise-2016.5.0.tar.gz
puppet-enterprise-2016.5.1-el-7-x86_64/conf.d/hiera.yaml
puppet-enterprise-2016.5.1-el-7-x86_64/conf.d/pe.conf
puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/repodata/repomd.xml.asc
[root@puppetenterprise ~]# cd puppet-enterprise-2016.5.1-el-7-x86_64
[root@puppetenterprise puppet-enterprise-2016.5.1-el-7-x86_64]# ls -l
total 204
drwxr-xr-x 2 root root 37 Jan 16 02:36 conf.d
-rw-rw-r– 1 root root 19151 May 24 2016 LICENSE.txt
drwxr-xr-x 2 root root 4096 Jan 16 02:36 modules
drwxr-xr-x 3 root root 135 Jan 16 02:36 packages
-rwxrwxr-x 1 root root 33730 Dec 9 13:00 puppet-enterprise-installer
-rwxrwxr-x 1 root root 136894 Dec 9 13:00 puppet-enterprise-uninstaller
-rw-rw-r– 1 root root 1225 May 24 2016 README.markdown
-rw-rw-r– 1 root root 9 Dec 9 12:59 VERSION

puppet-enterprise-installer

[root@puppetenterprise puppet-enterprise-2016.5.1-el-7-x86_64]# ./puppet-enterprise-installer
~/puppet-enterprise-2016.5.1-el-7-x86_64 ~/puppet-enterprise-2016.5.1-el-7-x86_64
=============================================================
Puppet Enterprise Installer
=============================================================
Puppet Enterprise offers two different methods of installation.

[1] Guided install

Recommended for beginners. 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.

[2] Text-mode

Recommended for advanced users. 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.

=============================================================
How to proceed? [1]: 2

#————————————————————————-
# ⚠️ REQUIRED FOR INSTALLATION ⚠️
#
# The password to log into the Puppet Enterprise console.
#
# If you are upgrading and do not want to reset your console admin password,
# comment out this parameter.
#————————————————————————–
“console_admin_password”: “”
#————————————————————————–
# PE Component assignments.
#

               Give Password with which U need to login
============================
“console_admin_password”: “rafi494”
============================
## We are creating a new pe.conf file at /root/puppet-enterprise-2016.5.1-el-7-x86_64/conf.d/custom-pe.conf…

2017-01-16 02:38:16,919 Running command: cp /root/puppet-enterprise-2016.5.1-el-7-x86_64/conf.d/pe.conf /root/puppet-enterprise-2016.5.1-el-7-x86_64/conf.d/custom-pe.conf

## We’re opening /root/puppet-enterprise-2016.5.1-el-7-x86_64/conf.d/custom-pe.conf in vi…
## You edited /root/puppet-enterprise-2016.5.1-el-7-x86_64/conf.d/custom-pe.conf in vi.
Proceed with installation using the pe.conf at /root/puppet-enterprise-2016.5.1-el-7-x86_64/conf.d/custom-pe.conf? [Yn]y
## We’re installing the Puppet Agent…

2017-01-16 02:41:29,062 Running command: mkdir -p /opt/puppetlabs/server/data/packages/public/2016.5.1/el-7-x86_64-1.8.2
2017-01-16 02:41:29,071 Running command: cp -r -L /root/puppet-enterprise-2016.5.1-el-7-x86_64/packages/el-7-x86_64/* /opt/puppetlabs/server/data/packages/public/2016.5.1/el-7-x86_64-1.8.2
2017-01-16 02:41:29,963 Running command: cp -r -L /root/puppet-enterprise-2016.5.1-el-7-x86_64/packages/GPG-KEY-puppetlabs /opt/puppetlabs/server/data/packages/public
2017-01-16 02:41:29,970 Running command: cp -r -L /root/puppet-enterprise-2016.5.1-el-7-x86_64/packages/GPG-KEY-puppet /opt/puppetlabs/server/data/packages/public
2017-01-16 02:41:29,975 Running command: mkdir -p /etc/yum.repos.d
2017-01-16 02:41:29,982 Running command: echo ‘[puppet_enterprise]’ > /etc/yum.repos.d/puppet_enterprise.repo
2017-01-16 02:41:30,058 Running command: echo ‘name=PuppetLabs PE Packages $releasever – $basearch’ >> /etc/yum.repos.d/puppet_enterprise.repo
2017-01-16 02:41:30,062 Running command: echo ‘baseurl=file:///opt/puppetlabs/server/data/packages/public/2016.5.1/el-7-x86_64-1.8.2’ >> /etc/yum.repos.d/puppet_enterprise.repo
2017-01-16 02:41:30,066 Running command: echo ‘enabled=1’ >> /etc/yum.repos.d/puppet_enterprise.repo
2017-01-16 02:41:30,070 Running command: echo ‘gpgcheck=1’ >> /etc/yum.repos.d/puppet_enterprise.repo
2017-01-16 02:41:30,074 Running command: echo -e ‘gpgkey=file:///opt/puppetlabs/server/data/packages/public/GPG-KEY-puppetlabs\n file:///opt/puppetlabs/server/data/packages/public/GPG-KEY-puppet’ >> /etc/yum.repos.d/puppet_enterprise.repo
2017-01-16 02:41:30,078 Running command: rpm –import /root/puppet-enterprise-2016.5.1-el-7-x86_64/packages/GPG-KEY-puppetlabs
2017-01-16 02:41:30,232 Running command: rpm –import /root/puppet-enterprise-2016.5.1-el-7-x86_64/packages/GPG-KEY-puppet
2017-01-16 02:41:30,277 Running command: yum clean all –disablerepo=’*’ –enablerepo=puppet_enterprise
Loaded plugins: fastestmirror
Cleaning repos: puppet_enterprise
Cleaning up everything
Cleaning up list of fastest mirrors
2017-01-16 02:41:30,637 Running command: yum install -y puppet-agent pe-bundler pe-installer
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: mirror.es.its.nyu.edu
* epel: mirror.utexas.edu
* extras: mirrors.usc.edu
* updates: mirror.hostduplex.com
Resolving Dependencies
–> Running transaction check
—> Package pe-bundler.noarch 0:2016.5.1.8.2-1.pe.el7 will be installed
—> Package pe-installer.x86_64 0:2016.5.0-0.1rc0.3.el7 will be installed
—> Package puppet-agent.x86_64 0:1.8.2-1.el7 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
pe-bundler noarch 2016.5.1.8.2-1.pe.el7 puppet_enterprise 218 k
pe-installer x86_64 2016.5.0-0.1rc0.3.el7 puppet_enterprise 4.0 M
puppet-agent x86_64 1.8.2-1.el7 puppet_enterprise 25 M

Transaction Summary
================================================================================
Install 3 Packages

Total download size: 30 M
Installed size: 133 M
Downloading packages:
——————————————————————————–
Total 278 MB/s | 30 MB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : puppet-agent-1.8.2-1.el7.x86_64 1/3
Installing : pe-bundler-2016.5.1.8.2-1.pe.el7.noarch 2/3
Installing : pe-installer-2016.5.0-0.1rc0.3.el7.x86_64 3/3
Verifying : pe-bundler-2016.5.1.8.2-1.pe.el7.noarch 1/3
Verifying : puppet-agent-1.8.2-1.el7.x86_64 2/3
Verifying : pe-installer-2016.5.0-0.1rc0.3.el7.x86_64 3/3

Installed:
pe-bundler.noarch 0:2016.5.1.8.2-1.pe.el7
pe-installer.x86_64 0:2016.5.0-0.1rc0.3.el7
puppet-agent.x86_64 0:1.8.2-1.el7

Complete!
.
.
.
.
## Puppet Enterprise configuration complete!

Documentation: https://docs.puppet.com/pe/2016.5/index.html
Release notes: https://docs.puppet.com/pe/2016.5/release_notes.html

If this is a monolithic configuration, run ‘puppet agent -t’ to
complete the setup of this system.

If this is a split configuration, install or upgrade the remaining
PE components, and then run puppet agent -t on the Puppet master,
PuppetDB, and PE console, in that order.
~/puppet-enterprise-2016.5.1-el-7-x86_64
[root@puppetenterprise puppet-enterprise-2016.5.1-el-7-x86_64]#

[root@puppetenterprise puppet-enterprise-2016.5.1-el-7-x86_64]# cd
[root@puppetenterprise ~]# netstat -tlpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2897/sshd
tcp 0 0 0.0.0.0:5432 0.0.0.0:* LISTEN 11841/postgres
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 9619/sendmail: acce
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 14450/nginx: master
tcp6 0 0 :::8140 :::* LISTEN 14656/java
tcp6 0 0 :::61613 :::* LISTEN 13382/java
tcp6 0 0 127.0.0.1:4430 :::* LISTEN 15425/java
tcp6 0 0 :::8142 :::* LISTEN 15002/java
tcp6 0 0 :::4431 :::* LISTEN 15425/java
tcp6 0 0 :::8143 :::* LISTEN 15002/java
tcp6 0 0 127.0.0.1:4432 :::* LISTEN 15425/java
tcp6 0 0 :::61616 :::* LISTEN 13382/java
tcp6 0 0 127.0.0.1:8080 :::* LISTEN 14121/java
tcp6 0 0 :::4433 :::* LISTEN 15425/java
tcp6 0 0 :::8081 :::* LISTEN 14121/java
tcp6 0 0 :::34771 :::* LISTEN 13382/java
tcp6 0 0 :::22 :::* LISTEN 2897/sshd
tcp6 0 0 :::5432 :::* LISTEN 11841/postgres

[root@puppetenterprise ~]# cd /opt/puppetlabs/bin/

[root@puppetenterprise bin]# bash

[root@puppetenterprise bin]# cd

[root@puppetenterprise ~]# puppetserver –version
puppetserver version: 2016.5.0.11

[root@puppetenterprise ~]# puppet –version
4.8.1
[root@puppetenterprise ~]# puppet cert list –all
+ “pe-internal-mcollective-servers” (SHA256) E5:0A:36:3E:6C:1A:D1:9A:B4:1F:0F:84:7E:EF:E2:09:90:9B:26:71:49:65:2F:FB:30:89:1D:E9:3B:81:63:31
+ “pe-internal-peadmin-mcollective-client” (SHA256) 37:F5:A1:2E:13:80:3B:88:6B:EA:C4:B5:F1:EB:43:58:31:31:E8:7B:36:12:FE:19:54:6C:70:A5:34:77:33:D0
+ “puppetenterprise.puppethub.in” (SHA256) 55:F0:94:2A:58:55:30:33:BD:02:6A:6B:80:CE:CB:24:C7:DA:68:03:8B:A8:2A:1B:C3:02:94:38:3D:02:1A:4E (alt names: “DNS:puppet”, “DNS:puppetenterprise.puppethub.in”)

enterprise2enterprise3

username:admin

password:rafi494

enterprise41234568

[root@puppetenterprise ~]# ls -l /usr/lib/systemd/system |grep puppet
-rw-r–r–. 1 root root 634 Nov 29 20:56 pe-puppetdb.service
-rw-r–r–. 1 root root 672 Nov 23 23:10 pe-puppetserver.service
-rw-r–r–. 1 root root 841 Dec 6 00:17 puppet.service

[root@puppetenterprise ~]# systemctl status pe-puppetserver
● pe-puppetserver.service – pe-puppetserver Service
Loaded: loaded (/usr/lib/systemd/system/pe-puppetserver.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2017-01-17 05:16:55 UTC; 26min ago
Process: 800 ExecStart=/opt/puppetlabs/server/apps/puppetserver/bin/puppetserver start (code=exited, status=0/SUCCESS)
Main PID: 884 (java)
CGroup: /system.slice/pe-puppetserver.service
└─884 /opt/puppetlabs/server/bin/java -Xms2048m -Xmx2048m -Djava.security.egd=/dev/urandom -XX:OnOutOfMemoryError=kill -9 %p -cp /…

Jan 17 05:14:05 puppetenterprise.c.rich-operand-154505.internal systemd[1]: Starting pe-puppetserver Service…
Jan 17 05:16:55 puppetenterprise systemd[1]: Started pe-puppetserver Service.

[root@puppetenterprise ~]# systemctl status pe-puppetdb.service
● pe-puppetdb.service – pe-puppetdb Service
Loaded: loaded (/usr/lib/systemd/system/pe-puppetdb.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2017-01-17 05:16:50 UTC; 26min ago
Process: 827 ExecStart=/opt/puppetlabs/server/apps/puppetdb/bin/puppetdb start (code=exited, status=0/SUCCESS)
Main PID: 886 (java)
CGroup: /system.slice/pe-puppetdb.service
└─886 /opt/puppetlabs/server/bin/java -Xmx256m -Xms256m -Djava.security.egd=/dev/urandom -XX:OnOutOfMemoryError=kill -9 %p -cp /op…

Jan 17 05:14:05 puppetenterprise systemd[1]: Starting pe-puppetdb Service…
Jan 17 05:16:14 puppetenterprise puppetdb[827]: The [database] classname setting has been retired and will be ignored.
Jan 17 05:16:14 puppetenterprise puppetdb[827]: The [database] subprotocol setting has been retired and will be ignored.
Jan 17 05:16:35 puppetenterprise puppetdb[827]: The [database] classname setting has been retired and will be ignored.
Jan 17 05:16:35 puppetenterprise puppetdb[827]: The [database] subprotocol setting has been retired and will be ignored.
Jan 17 05:16:50 puppetenterprise systemd[1]: Started pe-puppetdb Service.

[root@puppetenterprise ~]# systemctl status puppet
● puppet.service – Puppet agent
Loaded: loaded (/usr/lib/systemd/system/puppet.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2017-01-17 05:14:05 UTC; 31min ago
Main PID: 842 (puppet)
CGroup: /system.slice/puppet.service
└─842 /opt/puppetlabs/puppet/bin/ruby /opt/puppetlabs/puppet/bin/puppet agent –no-daemonize

Jan 17 05:16:53 puppetenterprise puppet-agent[1256]: (/Stage[main]/Puppet_enterprise::Console_services/Service[pe-console-services]) D…s: true
Jan 17 05:16:53 puppetenterprise puppet-agent[1256]: (/Stage[main]/Puppet_enterprise::Console_services/Service[pe-console-services]) S…dencies
Jan 17 05:16:53 puppetenterprise puppet-agent[1256]: (/Stage[main]/Puppet_enterprise::Profile::Orchestrator/Puppet_enterprise::Trapperkeeper:…
Jan 17 05:16:53 puppetenterprise puppet-agent[1256]: (/Stage[main]/Puppet_enterprise::Profile::Orchestrator/Puppet_enterprise::Trapperkeeper:…
Jan 17 05:16:53 puppetenterprise puppet-agent[1256]: (/Stage[main]/Puppet_enterprise::Profile::Orchestrator/Puppet_enterprise::Trapperkeeper:…
Jan 17 05:16:53 puppetenterprise puppet-agent[1256]: (/Stage[main]/Puppet_enterprise::Profile::Orchestrator/Puppet_enterprise::Trapperkeeper:…
Jan 17 05:16:53 puppetenterprise puppet-agent[1256]: (/Stage[main]/Puppet_enterprise::Profile::Orchestrator/Service[pe-orchestration-s…s: true
Jan 17 05:16:53 puppetenterprise puppet-agent[1256]: (/Stage[main]/Puppet_enterprise::Profile::Orchestrator/Service[pe-orchestration-s…dencies
Jan 17 05:17:02 puppetenterprise puppet-agent[1256]: Applied catalog in 122.53 seconds
Jan 17 05:44:50 puppetenterprise puppet-agent[4364]: Applied catalog in 11.61 seconds
Hint: Some lines were ellipsized, use -l to show in full.

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

 

                                         On Agent Machine

[root@ansible ~]# curl -k https://puppetenterprise.c.rich-operand-154505.internal:8140/packages/current/install.bash | sudo bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 20167 100 20167 0 0 105k 0 –:–:– –:–:– –:–:– 106k
Loaded plugins: fastestmirror
Cleaning repos: pe_repo
Cleaning up everything
Cleaning up list of fastest mirrors
Loaded plugins: fastestmirror
pe_repo | 2.5 kB 00:00:00
pe_repo/primary_db | 25 kB 00:00:00
Determining fastest mirrors
* base: centos.mirrors.tds.net
* epel: mirror.steadfast.net
* extras: mirror.tzulo.com
* updates: mirror.team-cymru.org
Error: No matching Packages to list
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.mirrors.tds.net
* epel: mirror.steadfast.net
* extras: mirror.tzulo.com
* updates: mirror.team-cymru.org
Resolving Dependencies
–> Running transaction check
—> Package puppet-agent.x86_64 0:1.8.2-1.el7 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

================================================================================================================================================
Package Arch Version Repository Size
================================================================================================================================================
Installing:
puppet-agent x86_64 1.8.2-1.el7 pe_repo 25 M

Transaction Summary
================================================================================================================================================
Install 1 Package

Total download size: 25 M
Installed size: 121 M
Downloading packages:
warning: /var/cache/yum/x86_64/7/pe_repo/packages/puppet-agent-1.8.2-1.el7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID ef8d349f: NOKEY ETA
Public key for puppet-agent-1.8.2-1.el7.x86_64.rpm is not installed
puppet-agent-1.8.2-1.el7.x86_64.rpm | 25 MB 00:00:00
Retrieving key from https://puppetenterprise.c.rich-operand-154505.internal:8140/packages/GPG-KEY-puppetlabs
Importing GPG key 0x4BD6EC30:
Userid : “Puppet Labs Release Key (Puppet Labs Release Key) <info@puppetlabs.com>”
Fingerprint: 47b3 20eb 4c7c 375a a9da e1a0 1054 b7a2 4bd6 ec30
From : https://puppetenterprise.c.rich-operand-154505.internal:8140/packages/GPG-KEY-puppetlabs
Retrieving key from https://puppetenterprise.c.rich-operand-154505.internal:8140/packages/GPG-KEY-puppet
Importing GPG key 0xEF8D349F:
Userid : “Puppet, Inc. Release Key (Puppet, Inc. Release Key) <release@puppet.com>”
Fingerprint: 6f6b 1550 9cf8 e59e 6e46 9f32 7f43 8280 ef8d 349f
From : https://puppetenterprise.c.rich-operand-154505.internal:8140/packages/GPG-KEY-puppet
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : puppet-agent-1.8.2-1.el7.x86_64 1/1
Verifying : puppet-agent-1.8.2-1.el7.x86_64 1/1

Installed:
puppet-agent.x86_64 0:1.8.2-1.el7

Complete!
service { ‘puppet’:
ensure => ‘stopped’,
}
Notice: /Service[puppet]/ensure: ensure changed ‘stopped’ to ‘running’
service { ‘puppet’:
ensure => ‘running’,
enable => ‘true’,
}
service { ‘puppet’:
ensure => ‘running’,
enable => ‘true’,
}
Notice: /File[/usr/local/bin/facter]/ensure: created
file { ‘/usr/local/bin/facter’:
ensure => ‘link’,
selrange => ‘s0’,
selrole => ‘object_r’,
seltype => ‘bin_t’,
seluser => ‘system_u’,
target => ‘/opt/puppetlabs/puppet/bin/facter’,
}
Notice: /File[/usr/local/bin/puppet]/ensure: created
file { ‘/usr/local/bin/puppet’:
ensure => ‘link’,
selrange => ‘s0’,
selrole => ‘object_r’,
seltype => ‘bin_t’,
seluser => ‘system_u’,
target => ‘/opt/puppetlabs/puppet/bin/puppet’,
}
Notice: /File[/usr/local/bin/pe-man]/ensure: created
file { ‘/usr/local/bin/pe-man’:
ensure => ‘link’,
selrange => ‘s0’,
selrole => ‘object_r’,
seltype => ‘bin_t’,
seluser => ‘system_u’,
target => ‘/opt/puppetlabs/puppet/bin/pe-man’,
}
Notice: /File[/usr/local/bin/hiera]/ensure: created
file { ‘/usr/local/bin/hiera’:
ensure => ‘link’,
selrange => ‘s0’,
selrole => ‘object_r’,
seltype => ‘bin_t’,
seluser => ‘system_u’,
target => ‘/opt/puppetlabs/puppet/bin/hiera’,
}

[root@ansible ~]# cd /opt/puppetlabs/bin/
[root@ansible bin]# bash
[root@ansible bin]# cd
[root@ansible ~]# puppet agent -t
Exiting; no certificate found and waitforcert is disabled

             server-side

[root@puppetenterprise ~]# puppet cert list
“ansible.c.rich-operand-154505.internal” (SHA256) 78:8E:0B:FA:4E:53:DB:44:E1:9D:87:C6:39:A2:92:D7:3C:F9:22:29:AE:BA:06:97:50:67:73:A8:36:24:78:79

enterprise11.png

[root@puppetenterprise ~]# puppet cert list

enterprise12.png

enterprise13.png

enterprise14.png

[root@puppetenterprise ~]# locate install.bash
/opt/puppetlabs/server/data/packages/public/2016.5.1/install.bash

install-bash

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s