lost and found ( for me ? )

install puppet enterprise(PE) on Ubuntu 14.04 and manage agent nodes

Here are logs when installing puppet enterprise 3.7.2 on Ubuntu 14.04.

PE*1 ( master.localdomain )
agent * 2 ( agent01.localdomain, agent02.localdomain )

all machines are Ubuntu 14.04.

hostname is

master.localdomain, agent01.localdomain, agent02.localdomain.

[ install PE ]

before installing PE, configure hostname.
# hostname
master

# grep master /etc/hosts
192.168.122.5 master.localdomain master

I have not installed puppet master on this machine.
the installer of PE will install required packages.

# tar xzvf puppet-enterprise-3.7.2-ubuntu-14.04-amd64.tar.gz

# cd puppet-enterprise-3.7.2-ubuntu-14.04-amd64/

run installer.
# ./puppet-enterprise-installer

Please go to https://master.localdomain:4567 in your browser to continue
installation. Be sure to use https:// and that port 4567 is reachable
through the firewall.

open an web browser and access to https://<IP>:4567
port number might differ from TCP 4567.

enter the hostname and credentials for admin.

It took 20 minutes or so to finish the installation.

After finishing the installation, access to https://<IP>




add nodes to manages those via PE.
access to a machine you want to manage over SSH.

on the agent.
I configured PE hostname in /etc/hosts file on the agent so that the agent can access to the PE with hostname instead of IP address.
download the install script from PE and run the install script.
# curl https://master.localdomain:8140/packages/current/install.bash -k | bash

Notice: /Service[pe-puppet]/ensure: ensure changed 'stopped' to 'running'
service { 'pe-puppet':
 ensure => 'running',
 enable => 'true',
}

on PE console, sign the certificate of the agent.
click “1 Node Request” -> Accept

the agent01.localdomain are managed by PE.

Here is a report of agent01
PE console -> Reports -> agent01


service status of SSH


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.