RHEL6.5配置安装puppet-server和puppet

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了RHEL6.5配置安装puppet-server和puppet相关的知识,希望对你有一定的参考价值。

RHEL6.5配置安装puppet-server和puppet(二)

———客户端配置安装pupeet

一、安装客户端程序

一、客户端端配置安装

    

1 环境配置域名:

[[email protected] /]# less /etc/hosts
127.0.0.1       localhost 
192.168.1.100   master.linux.com master
192.168.1.111   client.linux.com client

2 安装过程:


2.1 设置网络YUM源

1、[[email protected] /]#rpm -ivh http://yum.puppetlabs.com/el/6Server/products/x86_64/puppetlabs-release-6-6.noarch.rpm

2、cat /etc/yum.repos.d/puppetlabs.repo 
[puppetlabs-products]
name=Puppet Labs Products El 6 - $basearch
baseurl=http://yum.puppetlabs.com/el/6/products/x86_64    -----delete  $basearch    add x86_64
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puppetlabs
enabled=1
gpgcheck=1

[puppetlabs-deps]
name=Puppet Labs Dependencies El 6 - $basearch
baseurl=http://yum.puppetlabs.com/el/6/dependencies/$basearch
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puppetlabs
enabled=1
gpgcheck=1

[puppetlabs-devel]
name=Puppet Labs Devel El 6 - $basearch
baseurl=http://yum.puppetlabs.com/el/6/devel/$basearch
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puppetlabs
enabled=0
gpgcheck=1

[puppetlabs-products-source]
name=Puppet Labs Products El 6 - $basearch - Source
baseurl=http://yum.puppetlabs.com/el/6/products/SRPMS
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puppetlabs
failovermethod=priority
enabled=0
gpgcheck=1

[puppetlabs-deps-source]
name=Puppet Labs Source Dependencies El 6 - $basearch - Source
baseurl=http://yum.puppetlabs.com/el/6/dependencies/SRPMS
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puppetlabs
enabled=0
gpgcheck=1

[puppetlabs-devel-source]
name=Puppet Labs Devel El 6 - $basearch - Source
baseurl=http://yum.puppetlabs.com/el/6/devel/SRPMS
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puppetlabs
enabled=0
gpgcheck=1


3、cat /etc/yum.repos.d/puppet.repo 
[puppet]
name=puppet
baseurl=http://mirrors.163.com/centos/6/os/x86_64
gpgcheck=0
enable=1

2.2 利用更新的YUM源:

[[email protected] /]# yum clean all

2.3

 

[[email protected] /]# yum install puppet

2.3

开启服务:service puppet start

二、配置客户端程序

                

                        待完善中。。。。。。

本文出自 “kingson” 博客,请务必保留此出处http://81703069.blog.51cto.com/5524831/1857841

以上是关于RHEL6.5配置安装puppet-server和puppet的主要内容,如果未能解决你的问题,请参考以下文章

RHEL 6.10系统安装配置图解教程

RHEL6.5安装Oracle RAC 11g( 三,集群安装配置)

RHEL6.5安装Oracle RAC 11g(一,系统配置)

母虚拟机的安装 和 varnish(rhel6.5)

rhel6 -安装虚拟机

内网RHEL6.5的ISO镜像上传至RHEL6.5服务器上制作本地安装依赖源