23htg 发表于 2016-3-31 10:24:09

1.3-puppet安装

2.服务端安装

安装puppet 源   #会在repo.d下生成puppet源
rpm -ivh "http://yum.puppetlabs.com/el/6/products/x86_64/puppetlabs-release-6-7.noarch.rpm"

安装服务端程序
yum install -y puppet-server
启动服务
servicepuppetmaster start

开机启动
chkconfigpuppetmaster on

3. 客户端安装

安装puppet 源#epel源也可以
rpm -ivh "http://yum.puppetlabs.com/el/6/products/x86_64/puppetlabs-release-6-7.noarch.rpm"

安装客户端程序
yum install -y puppet

修改配置文件
vi /etc/puppet/puppet.conf
在最后面添加:
listen = true
server = master.wyp.com
runinterval = 30   //主动更新,每隔30s

然后启动puppet服务
/etc/init.d/puppet start

页: [1]
查看完整版本: 1.3-puppet安装