Puppet usage
Rpm-vih http://yum.puppetlabs.com/el/6.5/products/x86_64/puppetlabs-release-6-5.noarch.rpm
1. Install puppetagent,mcollective server
Yum install puppet mcollective mcollective-common mcollective-puppet-agent mcollective-puppet-common
1 、
Echo "10.173.154.198 autopuppet" > > / etc/hosts
2 、
Puppet agent-test-waitforcert 60-server autopuppet
3. Configure puppetagent, mcoagent and mco_shell on puppet server
Configure a puppet agent to execute once-- test
4. Configure nagiosagent
Execute directly on puppetmaster
Mco puppet-v runonce-I hostname
5. Allow clients to access ftp on puppet
6. Iptables allowed port 8139 61613 must be configured on the client.