您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 交通运输 > puppet2.6配置手册_守住每一天
://bbs.linuxtone.orgITPuppet1.1Puppet1.2puppet1.3Puppet1.4Puppet2.12.2Puppet2.32.4yum2.5gemPuppet3.13.23.33.4Puppet4.14.2svnorgitNginxorpound?5.1nginx?5.2puppetmaster5.3nginxupstreamPuppet6.16.26.36.4webgui7.1Dashboardinit7.2foreman8.1cron8.2syslog8.3Haproxy8.4ApacheTrafficServerexample42FAQ(runinterval=30),,.,puppet.,.1.2puppet101001000+Puppet1.3Puppet1.4:base64cgidigest/md5etcfileutilsipaddropensslstrscansysloguriwebrickwebrick/httpsxmlrpc2.2Puppet2.6.40.25.52.6.40.25.5puppetmasterd→puppetmasterpuppetd→puppetagentpuppet→puppetapplypuppetca→puppetcertralsh→puppetresourcepuppetrun→puppetkickpuppetqd→puppetqueuefilebucket→puppetfilebucket→puppetdocpi→puppetdescribeepelpuppet0.25.52.6.42.6.4windows://mirrors.sohu.com/fedora-epel/5Server/epelyuminstallrubyruby-develruby-doc*2.3.2facter:$wget|tarxf-$cdfacter-*$sudorubyinstall.rb#root2.3.3#$wget|tarxf-$cdpuppet-*$sudorubyinstall.rb#rot2.4yum1.Epel0.25.52.2.6.42.4.1yumcd/etc/yum.repos.d/vimpuppet.repo[puppetlabs]name=PuppetLabsPackagesbaseurl==0gpgcheck=0/code/previmepel.reponame=ExtraPackagesforEnterpriseLinux5-$basearch#baseurl===epel-5&arch=$basearch=priorityenabled=0gpgcheck=0[epel-puppet]name=epelpuppetbaseurl==0gpgcheck=0vimruby.repo[ruby]name=rubybaseurl==0enabled=02.4.2rubypuppet2.6ruby1.8.6puppet-dashboardruby#yum--enablerepo=rubyupdaterubyruby:#yum-yinstallruby2.4.3puppetPuppetServerServerOnyourpuppetmasterserver:#yum--enablerepo=epel,epel-puppetinstallpuppet-serverClientOnyourpuppetclient#yum--enablerepo=epel,epel-puppetinstallpuppet2.5gem$wget://puppetlabs.com/downloads/gems/puppet-0.25.1.gem$sudogeminstallpuppet-0.25.1.gemPuppet3.13.1.1hostname#echo“puppetmaster.linuxtone.org”/etc/hostname#hostname–F/etc/hostname3.1.2site.ppvim/etc/puppet/site.ppnodedefault{{“/tmp/temp1.txt”:content=“hello,firstpuppetmanifest”;}}3.23.2.1hostname#echo“puppetclient.linuxtone.org”/etc/hostname#hostname–F/etc/hostname3.1.2hostsdnsecho“192.168.1.100puppetmaster.linuxtone.org”/etc/hosts3.33.3.1puppetd--servermaster.example.compuppetmaster.linuxtone.org--testpuppetdmaster.example.compuppetmaster.linuxtone.orgpuppet.,ssl,,,.3.3.2puppetca-sclient.example.com3.3.3puppetd–serverpuppetmaster.linuxtone.org--test/tmphello,firstpuppetmanifesttemp1.txt3.4/etc/puppetautosign.conf*.linuxtone.orgPuppet4.1puppetpuppetpuppet/etc/puppet|--puppet.conf#|--fileserver.conf#|--auth.conf#|--autosign.conf#|--tagmail.conf#|--manifests#(puppet.PPsite.pp)|`--nodes|||puppetclient.pp||--site.pp#puppet||--modules.pp#classincludesyslog|--modules#|`--syslog#syslog||--file||--manifests|||--init.pp|`--templates#||--syslog.erb#erbnodesclusternodes.ppsite.ppincldenodes/cluster_name/*.ppsyslogmodulessyslog|--file|--manifests||--init.pp#class`--templates|--syslog.erb#erb4.2svnorgitsvngitpuppetpuppetsvnsvnpuppetcronsvnupdateclientsvnGitsvnpuppetsvn/etc/puppet Nginxorpound?–yinstallrubygem-mongrel=(18140181411814218143)PUPPETMASTER_EXTRA_OPTS=--servertype=mongrel--ssl_client_header=HTTP_X_SSL_SUBJECT/etc/init.d/puppetmasterrestart5.4nginx://{server127.0.0.1:18140;server127.0.0.1:18141;server127.0.0.1:18142;server127.0.0.1:18143;}server{listen8140;root/etc/puppet;sslon;ssl_session_timeout5m;ssl_cert
本文标题:puppet2.6配置手册_守住每一天
链接地址:https://www.777doc.com/doc-5044354 .html