Installation configuration process for puppet under Centos 6.3

Source: Internet
Author: User
Tags centos iptables

System Environment: centos6.3

puppet:puppet-2.7.13

facter:facter-1.6.5

Ruby:yum Source

Note:

Facter used to obtain client system information (such as HOSTNAME,IP,OS-VERSION,FQDN, etc.)

Ruby is the puppet development environment

Puppet server:192.168.7.196

Puppet client:192.168.7.197

(server) configuration only for servers

(client) configured for client-only end

(server,client) for server-side and client configuration

I. Configuration Environment (server,client):

1. Closure of Iptables and SELinux (server,client)

# Service Iptables Stop

# Setenforce 0

# Vi/etc/sysconfig/selinux

---------------

Selinux=disabled

---------------

2. Install the Ruby development environment (centos6.3 Default update source) (Server,client)

# yum-y Install ruby*

3. Schedule Synchronization Time: (Server,client)

Sync time every 5 minutes

# CRONTAB-E

-------------

*/5 * * * */usr/sbin/ntpdate-u asia.pool.ntp.org

-------------

# Service Crond Restart

# Chkconfig Crond on

4. Modify server and client host and hostname:

(server,client)

# vi/etc/hosts

-------------------

192.168.7.196 server.example.com Server

192.168.7.197 client.example.com Client

-------------------

(server)

# vi/etc/sysconfig/network

----------------

Hostname=server.example.com

----------------

(client)

# vi/etc/sysconfig/network

----------------

Hostname=client.example.com

----------------

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.