Login to our Puppet's Master console. (I wipe, the computer can't carry on)
HTTP://DOWN.51CTO.COM/DATA/1975148 official website document address.
Software version: PUPPET-ENTERPRISE-3.7.1-EL-6-X86_64.TAR.GZ,:HTTP://PAN.BAIDU.COM/S/1NTDSGMH (Dickens downloaded, last night, downloaded from the official website several times, After downloading it, it is wrong to unpack the package. It's a good day for work today. Wipe!! )
System Architecture:
System
Master side: CentOS Release 6.6 (final) Client: CentOS Release 6.6 (final)
Fqdn:
Server-side: master.puppet.com client: agent1.puppet.com
Both the server side and the client's operating system are: CentOS Release 6.6 (Final). If the system is not consistent, then how to add an agent with a different schema will be attached later.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/58/B6/wKioL1S5EGiR_Tr9AAM-Nepi-NY583.jpg "title=" Puppet1.png "alt=" Wkiol1s5egir_tr9aam-nepi-ny583.jpg "/>
This is the interface after we landed. master installation is complete, let's install the agent.
Switch to our agent1 and execute
[Email protected] ~]# Curl-k Https://master.puppet.com:8140/packages/current/install.bash | Bash
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/58/B6/wKioL1S5EbTDcV7HAAVCTYh6UOY320.jpg "title=" Agent1.png "alt=" Wkiol1s5ebtdcv7haavctyh6uoy320.jpg "/>
Wait for installation to complete
Then, refresh the console of our puppet master and note the location of the red flag. Click Open.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/58/B6/wKioL1S5EryidXAvAAMZSIM7_uM967.jpg "title=" Puppet2.png "alt=" Wkiol1s5eryidxavaamzsim7_um967.jpg "/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/58/B8/wKiom1S5EmDRc-h7AAMuP0mfkZs785.jpg "title=" Puppet3.png "alt=" Wkiom1s5emdrc-h7aamup0mfkzs785.jpg "/>
Review after confirmation. 650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/58/B8/wKiom1S5E2CRFpiUAAMou__bIbY752.jpg "title=" Puppet4.png "alt=" Wkiom1s5e2crfpiuaamou__biby752.jpg "/>
The client has come. At first, there may be a * * * exclamation point, wait a moment, wait for it to update the client's files well. If you want to add multiple clients of the same schema, do the same.!!!
Attached: the server side and client schema are not the same, add the client as follows. Let's say our server is centos6.6 and the client is Debian 6.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/B9/wKiom1S5FyyDBHFYAAOx6w1IRLc927.jpg "style=" float: none; "title=" Puppet5.png "alt=" Wkiom1s5fyydbhfyaaox6w1irlc927.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/B6/wKioL1S5F_uipdKuAAMG6btJagA162.jpg "style=" float: none; "title=" Puppet6.png "alt=" Wkiol1s5f_uipdkuaamg6btjaga162.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/B9/wKiom1S5Fy6Q79P9AAPYAuFe1ps094.jpg "style=" float: none; "title=" Puppet7.png "alt=" Wkiom1s5fy6q79p9aapyaufe1ps094.jpg "/>
Then follow the steps to add a client step to the same system architecture.
This article is from "Linux rookie" blog, please be sure to keep this source http://ludihua.blog.51cto.com/4601284/1604929
Puppet installation Tutorial (ii)