Puppet master Installation Manual (CentOS 7)

Source: Internet
Author: User


Puppet Masterinstallation

Note: Puppet Master not supported Windows platform, Puppet Agent Support Windows , but it's not ideal. .

because Foreman Minimum Requirements CentOS 6 , so it is recommended to use 6 The above version or use Ubuntu Ten The above version.

this article to CentOS 7 Install for example Puppet Master

1. System Preparation work:

Minimized installation CentOS 7 ,

# yum update                                                              #更新系统包至最新 # hostnamectl --staticset-hostname  johnpuppet         #设置主机名 # yum -y install ntp                                                    #安装ntp包 # ntpdate  $NTP _server_ip                                   #时间同步 # systemctl stopfirewalld.service                        #关闭防火墙 # systemctl disable firewall                                    #禁用防火墙开机启动 # sed -i  ' s/\=enforcing/\=disabled/g '/etc/ selinux/config               # Turn off SELinux


Master End

# cat <<eof >>/etc/hosts #配置hosts解析 (test environment does not have DNS) >192.168.1.189 johnpuppet>192.168.1.198 puppetagent1.test.com>eof


Agent End

# cat <<EOF>>/etc/hosts                                      # configure hosts parsing (test environment does not have dns )

>192.168.1.189 Johnpuppet

>192.168.1.198 puppetagent1.test.com

> EOF

2. Install puppetmaster using the official YUM source :

# rpm-ivhhttp://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm

# yum-y Install Puppet-server

3. Configure puppet.conf

# vim/etc/puppet/puppet.conf

in the Agent Field Additions:

Server = Johnpuppet

in the Master Field Additions:

Report = True

reports = Log

4. start puppetmaster

# systemctl Enablepuppetmaster.service #puppetmaster Boot up

# Systemctl Enable Puppet.service #puppet Boot up

# Systemctl Start puppetmaster                         # Span style= "font-family: ' The song body '; color: #FF0000;" > start puppetmaster

# Systemctl start puppet # Start puppet

5. Agent request Certificate Verification

in the Agent on,

# puppet Agent–test

in the Master on,

# Puppet cert list–all # View the list of certificates

# Puppet cert sign–all # issue all Request Certificates

Master Certificate auto-Issuance


Puppet master Installation Manual (CentOS 7)

Related Article

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.