Download - IT Automation with Puppet Enterprise
![Page 2: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/2.jpg)
What is Puppet
Puppet Enterprise is IT automation software that gives system administrators the power to easily automate repetitive tasks, quickly deploy critical applications, and proactively manage infrastructure, on-premises or in the cloud.
![Page 3: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/3.jpg)
What is Puppet Enterprise? : http://goo.gl/Eg2jD5
![Page 4: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/4.jpg)
What do we need ?
1. Puppet Enterprise (Full)2. Master Machine -> Puppet Master3. Node(s) Machine -> Puppet Agent
![Page 5: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/5.jpg)
Download Puppet Enterprise
![Page 6: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/6.jpg)
Simple Architecture
192.168.2.160
192.168.2.161
192.168.2.162
192.168.2.163
![Page 7: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/7.jpg)
Puppet Master (Master)
● Ubuntu Server 12.04.4 LTS● OpenSSH Server + NTP and config time server● Download PE match your OS & Arch● Extract PE and Run installer script
./puppet-enterprise-installer
![Page 8: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/8.jpg)
● Answer Questions
Puppet Master (Master) cont.
Install puppet master? [y/N] y
Install PuppetDB and console on this node? [Y/n] y
Install the cloud provisioner? [y/N] N
![Page 9: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/9.jpg)
Puppet Master (Master) cont.
Puppet master’s certname? [Default: master]
Puppet master’s DNS aliases (comma-separated list)? [Default: master,puppet]
Install the included Puppet Enterprise PostgreSQL server locally? [Y/n]
Admin email address (will be used as account name) for accessing the console interface? [email protected]
![Page 10: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/10.jpg)
Puppet Master (Master) cont.
Password for user [email protected] (minimum 8 characters)?
Install these packages automatically? [Y/n] y
Perform installation? [Y/n] y
now wait the installation process...
![Page 11: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/11.jpg)
Puppet Master (Master) cont.
After finish browse to PE master console https://192.168.2.160
● Login with your email address ([email protected])● and your PE password
![Page 12: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/12.jpg)
Puppet Master (Master) cont.
![Page 13: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/13.jpg)
Puppet Master (Master) cont.
![Page 14: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/14.jpg)
Puppet Agent (Node1)
● Ubuntu Server 12.04.4 LTS● OpenSSH Server + NTP and config time server● Download PE match your OS & Arch● Extract PE and Run installer script
./puppet-enterprise-installer
![Page 15: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/15.jpg)
● Answer Questions
Puppet Agent (Node1) cont.
Install puppet master? [y/N]
Install PuppetDB? [y/N]
Install PuppetDB? [y/N]
![Page 16: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/16.jpg)
Puppet Agent (Node1) cont.
Install the console? [y/N]
Install the cloud provisioner? [y/N]
Install puppet agent? [Y/n]
Install these packages automatically? [Y/n]
![Page 17: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/17.jpg)
Puppet Agent (Node1) cont.
Perform installation? [Y/n]
now wait the installation process...
![Page 18: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/18.jpg)
Test PE agent
Puppet Agent (Node1) cont.
puppet agent --test
![Page 19: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/19.jpg)
Node request
![Page 20: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/20.jpg)
Accept Node request
![Page 21: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/21.jpg)
Refresh Node list page
![Page 22: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/22.jpg)
Node1 detail
![Page 23: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/23.jpg)
Live Management
![Page 24: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/24.jpg)
Package search via Live Management
![Page 25: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/25.jpg)
How Automate your Infra with PE
● Write your own Puppet module or download from Puppet Forge
● Add Class to PE● Assign Class to node *OR*● assign Class to Group then assign node to Group
![Page 26: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/26.jpg)
Puppet Forge
![Page 27: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/27.jpg)
Add some module eg; Apache
● Goto PE master
● List module
puppet module install puppetlabs-apache
puppet module list
![Page 28: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/28.jpg)
Add Class with new Module
![Page 29: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/29.jpg)
New Class added
![Page 30: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/30.jpg)
Add new Group call WWW
![Page 31: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/31.jpg)
Node1 detail
![Page 32: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/32.jpg)
Report
![Page 33: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/33.jpg)
Events
![Page 34: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/34.jpg)
Package list
![Page 35: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/35.jpg)
Browse to Node1 :)
![Page 36: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/36.jpg)
Tips
● Add Group for your Classes● Assign Node to that Group● You will manage your Node with Group/Class
easily
![Page 37: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/37.jpg)
Future learning...
● Write your own module● Share your module at the Puppet Forge!
Module Fundamental : http://goo.gl/IO1Hj
![Page 38: IT Automation with Puppet Enterprise](https://reader034.vdocuments.net/reader034/viewer/2022042714/554bb772b4c9053a298b4a20/html5/thumbnails/38.jpg)