yum -y install puppet puppet-server -- server > cat /etc/puppet/autosign.conf *.example.com > cat /etc/puppet/manifests/site.pp node 'client1.exmaple.com' { file { '/etc/hosts': source => 'puppet://server.exmaple.com/files/hosts', owner => 'root', group => 'root', mode => 644 } } > cat /etc/puppet/fileserver.conf [files] path /var/lib/puppet/files allow *.example.com > /etc/init.d/puppetmaster start > puppetca --list > puppetca --sign test.com > puppetca --generate test.com > puppetrun --host test.com -- client > yum -y install puppet > cat /etc/sysconfig/puppet # The puppetmaster server #PUPPET_SERVER=puppet PUPPET_SERVER=server.example.com # If you wish to specify the port to connect to do so here #PUPPET_PORT=8140 # Where to log to. Specify syslog to send log messages to the system log. #PUPPET_LOG=/var/log/puppet/puppet.log # You may specify other parameters to the puppet client here #PUPPET_EXTRA_OPTS=--waitforcert=500 PUPPET_EXTRA_OPTS="--listen --no-client --cacrl=none" > cat /etc/puppet/namespaceauth.conf [puppetrunner] allow *.example.com >cat /etc/puppet/puppetd.conf server = jundevlop.nttmcl.com listen = true /etc/rc.d/init.d/puppet start