标签: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
启动服务
service puppetmaster start
开机启动
chkconfig puppetmaster 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.3-puppet安装
原文地址:http://llzdwyp.blog.51cto.com/6140981/1758635