IT Automation with Puppet Enterprise
Anuchit Chalothorn
anuchit@redlinesoft.net
What is Puppet
Puppet Enterprise is IT automation software that gives system
administrators the power to easily automate r...
What is Puppet Enterprise? : http://goo.gl/Eg2jD5
What do we need ?
1. Puppet Enterprise (Full)
2. Master Machine -> Puppet Master
3. Node(s) Machine -> Puppet Agent
Download Puppet Enterprise
Simple Architecture
192.168.2.160
192.168.2.161
192.168.2.162
192.168.2.163
Puppet Master (Master)
● Ubuntu Server 12.04.4 LTS
● OpenSSH Server + NTP and config time server
● Download PE match your ...
● Answer Questions
Puppet Master (Master) cont.
Install puppet master? [y/N] y
Install PuppetDB and console on this node? ...
Puppet Master (Master) cont.
Puppet master’s certname? [Default: master]
Puppet master’s DNS aliases (comma-separated list...
Puppet Master (Master) cont.
Password for user puppet@example.com (minimum 8 characters)?
Install these packages automatic...
Puppet Master (Master) cont.
After finish browse to PE master console https://192.168.2.160
● Login with your email addres...
Puppet Master (Master) cont.
Puppet Master (Master) cont.
Puppet Agent (Node1)
● Ubuntu Server 12.04.4 LTS
● OpenSSH Server + NTP and config time server
● Download PE match your OS...
● Answer Questions
Puppet Agent (Node1) cont.
Install puppet master? [y/N]
Install PuppetDB? [y/N]
Install PuppetDB? [y/N]
Puppet Agent (Node1) cont.
Install the console? [y/N]
Install the cloud provisioner? [y/N]
Install puppet agent? [Y/n]
Ins...
Puppet Agent (Node1) cont.
Perform installation? [Y/n]
now wait the installation process...
Test PE agent
Puppet Agent (Node1) cont.
puppet agent --test
Node request
Accept Node request
Refresh Node list page
Node1 detail
Live Management
Package search via Live Management
How Automate your Infra with PE
● Write your own Puppet module or download
from Puppet Forge
● Add Class to PE
● Assign Cl...
Puppet Forge
Add some module eg; Apache
● Goto PE master
● List module
puppet module install puppetlabs-apache
puppet module list
Add Class with new Module
New Class added
Add new Group call WWW
Node1 detail
Report
Events
Package list
Browse to Node1 :)
Tips
● Add Group for your Classes
● Assign Node to that Group
● You will manage your Node with Group/Class
easily
Future learning...
● Write your own module
● Share your module at the Puppet Forge!
Module Fundamental : http://goo.gl/IO1...
IT Automation with Puppet Enterprise
Upcoming SlideShare
Loading in …5
×

IT Automation with Puppet Enterprise

761 views

Published on

IT Automation with Puppet Enterprise a shot workshop learn to deploy Puppet Enterprise and manage your IT with Pupppet Enterprise.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
761
On SlideShare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
28
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

IT Automation with Puppet Enterprise

  1. 1. IT Automation with Puppet Enterprise Anuchit Chalothorn anuchit@redlinesoft.net
  2. 2. 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.
  3. 3. What is Puppet Enterprise? : http://goo.gl/Eg2jD5
  4. 4. What do we need ? 1. Puppet Enterprise (Full) 2. Master Machine -> Puppet Master 3. Node(s) Machine -> Puppet Agent
  5. 5. Download Puppet Enterprise
  6. 6. Simple Architecture 192.168.2.160 192.168.2.161 192.168.2.162 192.168.2.163
  7. 7. 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
  8. 8. ● 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
  9. 9. 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? puppet@example.com
  10. 10. Puppet Master (Master) cont. Password for user puppet@example.com (minimum 8 characters)? Install these packages automatically? [Y/n] y Perform installation? [Y/n] y now wait the installation process...
  11. 11. Puppet Master (Master) cont. After finish browse to PE master console https://192.168.2.160 ● Login with your email address (puppet@example.com) ● and your PE password
  12. 12. Puppet Master (Master) cont.
  13. 13. Puppet Master (Master) cont.
  14. 14. 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
  15. 15. ● Answer Questions Puppet Agent (Node1) cont. Install puppet master? [y/N] Install PuppetDB? [y/N] Install PuppetDB? [y/N]
  16. 16. 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]
  17. 17. Puppet Agent (Node1) cont. Perform installation? [Y/n] now wait the installation process...
  18. 18. Test PE agent Puppet Agent (Node1) cont. puppet agent --test
  19. 19. Node request
  20. 20. Accept Node request
  21. 21. Refresh Node list page
  22. 22. Node1 detail
  23. 23. Live Management
  24. 24. Package search via Live Management
  25. 25. 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
  26. 26. Puppet Forge
  27. 27. Add some module eg; Apache ● Goto PE master ● List module puppet module install puppetlabs-apache puppet module list
  28. 28. Add Class with new Module
  29. 29. New Class added
  30. 30. Add new Group call WWW
  31. 31. Node1 detail
  32. 32. Report
  33. 33. Events
  34. 34. Package list
  35. 35. Browse to Node1 :)
  36. 36. Tips ● Add Group for your Classes ● Assign Node to that Group ● You will manage your Node with Group/Class easily
  37. 37. Future learning... ● Write your own module ● Share your module at the Puppet Forge! Module Fundamental : http://goo.gl/IO1Hj

×