Puppet Latest Source pack installation learning notes

Source: Internet
Author: User
Tags execution pack centos ssl connection

1.Puupet Introduction

Puppet is an open source automation configuration and Deployment tool, Puppet is based on the C/S architecture, the server is called Puppet Master, the client software is called Puppet Agent,puppet The master server holds all configuration code for the client server, and the Puppet agent communicates with Puppet master through a link that is encrypted and validated using the standard SSL protocol.

2.Puupet Working principle

1 the client puppetd to master to initiate the authentication request.

2 The client puppet calls Facter,factert to detect the variable information of the host, PUPPETD sends the information over the SSL connection to the server side.

3 server-side puppet master detects the host name of the client and then finds the corresponding node configuration for manifest, resolves the content, and sends the pseudocode to the client.

5 The client receives the pseudo code and executes it, returning the execution results to the server.

6 The server writes the client's execution results to the log.

3. Physical environment

master:192.168.1.244 Centos 5.5 hostname:master.puppet.net

slave:192.168.1.247 Centos 5.5 hostname:slave.puppet.net

4. Get Puppet Package

Download the latest installation version of puppet-3.1.1.tar.gz at Puppet's official website (https://puppetlabs.com). It can also be downloaded with wget at the Linux terminal.

wget http://puppetlabs.com/downloads/puppet/puppet-3.1.1.tar.gz--no-check-certificate

wget http://puppetlabs.com/downloads/facter/facter-1.6.18.tar.gz--no-check-certificate

5.puppet installation Configuration

5.1 Configure the Hostname, Puppet is communicated through the host name (FQDN), and the following two lines are added to the master and agent/etc/hosts files.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.