标签:puppet
yum install ruby ruby-libs ruby-shadow
yum install puppet puppet-server facter
RHEL7之前版本:chkconfig --level 3 5 on puppetmaster
RHEL7: systemctl enable puppetmaster.service
服务器:
vi /etc/puppet/puppet.conf
[master]
certname=服务器主机名
touch -R /etc/puppet/manifests/site.pp(这个是否需要可测试)
客户端:
yum install puppet
vi /etc/puppet/puppet.conf
[agent]
certname=客户端主机名
server=服务器主机名
report=true
systemctl start puppet
标签:puppet
原文地址:http://guowang327.blog.51cto.com/6513732/1716444