SlideShare une entreprise Scribd logo
1  sur  44
Télécharger pour lire hors ligne
Expanded Introduction
     to Puppet
    рамках Форума
  технологий Mail.Ru
                2012-04-24
                Moscow, RU

              Garrett Honeycutt
        Professional Services Consultant
           garrett@puppetlabs.com
    http://linkedin.com/in/garretthoneycutt
The one-off myth



                     Your systems are not beautiful
                              snowflakes


photo from http://beesknees67.deviantart.com/
The one-off myth

•   Only temporary
The one-off myth

•   Only temporary

•   Replicas for pre-production environments
The one-off myth

•   Only temporary

•   Replicas for pre-production environments

•   Disaster recovery
Why?
Why?

• reduce   entropy
Why?

• reduce   entropy
• disaster   recovery
Why?

• reduce   entropy
• disaster   recovery
• change   management
Why?

• reduce   entropy
• disaster   recovery
• change   management
• infrastructure   as code
Puppet Community Ecosystem

                                      Puppet Distribution

                                      Bundled with major OS
                                      !

                             Text



   
    4,000 person mailing list

   900 conversations a month
         Puppet Community

  750 people at all times in IRC      Active participation
                                      !

       (dedicated channel)

2500+ people
                    300+ modules      Puppet Contributors

contributing to
                    contributed to    Framework
documentation
                     Puppet Forge 
   enhancements
   and code 
                         !
Puppet is Pervasive
  Web       Entertainment   Technology




Financial
                             Defense
Puppet Enterprise
What it is:
•   Puppet and related components packaged and
    integrated in one install:
     •   Puppet
     •   Puppet Master
     •   Dashboard
     •   Facter
     •   Ruby
     •   Apache
     •   Passenger, etc.
Puppet Enterprise
•   Fully QA’d stack of Puppet and dependencies
•   Simplified installation
•   Ease of maintenance
•   Pre-configured for scalability and performance
•   Predictable enhancement delivery
•   Enhanced enterprise class Support
How Puppet Works

                                                                                              1    Define: !"#$%&'(()#*+%,)-./0/#"1)%
                                                                                             %      ./23'/3)%45'%,)+"32%/%30/($%56%
                                                                                             0)./#"52+$"(+%7)#8))2%0)+5'0-)+%8"#$"2%
                                                                                             0)'+/7.)%95,'.)+:%;$)+)%95,'.)+%,)6"2)%
                                                                                             45'0%"260/+#0'-#'0)%"2%"#+%,)+"0),%+#/#):

                                                                                        JB
                                                                               B   D@
                                                                            HI
                                                                       %E
                                                                  CB


                                                             B@
                                                        ED
                                                       %AG
                                                 G>
                                              B%@
                                          A ; B D @;




%4   Report: &'(()#%>/+$75/0,%0)(50#+%                                                                                    2    Simulate:%!"#$%#$"+%0)+5'0-)%
%    #0/-?%0)./#"52+$"(+%7)#8))2%                                                                                        %      30/($<%&'(()#%"+%'2"=')%"2%"#+%
-59(52)2#+%/2,%/..%-$/23)+<%/..58"23%                                                                                    /7"."#4%#5%+"9'./#)%,)(.549)2#+<%)2/7."23%
45'%#5%?))(%'(%8"#$%+)-'0"#4%/2,%                                                                                        45'%#5%#)+#%-$/23)+%8"#$5'#%,"+0'(#"52%
-59(."/2-)%9/2,/#)+:%@2,%8"#$%#$)%                                                                                       #5%45'0%"260/+#0'-#'0):
5()2%@&A%45'%-/2%"2#)30/#)%&'(()#%8"#$%
#$"0,%(/0#4%952"#50"23%#55.+:




                                EFDDBG;
                                                                                             %3     Enforce:%&'(()#%-59(/0)+%45'0%
                                C;@;B                                                        %      +4+#)9%#5%#$)%,)+"0),%+#/#)%/+%45'%
                                                                                             ,)6"2)%"#<%/2,%/'#59/#"-/..4%)2650-)+%"#%
                                                                       >BCADB>
                                                                       C;@;B                 #5%#$)%,)+"0),%+#/#)%)2+'0"23%45'0%+4+#)9%
                                                                                             "+%"2%-59(."/2-):
Use Puppet to create composable configurations
Modules   and manage the enterprise infrastructure

                                                                        1   Define Your Resources in Modules.
                                                                       !      "#$%!&'(()$*!+,'!-).#/)!+,'0!1,-'2)3!4+!/,-)!
            9GHGAG7D    "DA!7DEFDE      G&&!7DEFDE         7D?MEJH =   52633#.#56$#,/3*!3'5%!63!")4!7)08)0!,0!96$6463)*!622,:#/;!
                                                                       +,'!$,!-).#/)!0)26$#,/3%#(3!4)$:))/!0)3,'05)3!6/-!
                                                                       5,/.#;'0)!$%,'36/-3!,.!3)08)03!6$!,/5)<!
                Via                          Custom                         Assign resource relationships automatically.!
          Puppet Dashboard               External Source
                                            (CMDB, LDAP, etc.)
                                                                       2
                                                                       !     =,'!56/!$%)/!633#;/!6/-!-)(2,+!5,/.#;'06$#,/3!
                                                                       8#6!&'(()$!963%4,60-*!,0!:#$%!+,'0!,:/!5'3$,1#>)-!
                                                                       ?@9A!$,,23<
          "DA!7DEFDE7     9GHGAG7D!7DEFDE7      G&&IJ?GHJKL!7DEFDE7




             LK9D               LK9D                    LK9D
                                                                       3    Reusable, composable configurations. !
                                                                       !     "#$%!&'(()$!+,'!56/!0)B'3)!1,-'2)3!650,33!1'2$#(2)!
                                                                       /,-)3*!#/!:%6$)8)0!5,14#/6$#,/!+,'!/))-*!0)-'5#/;!
                                                                       0)()$#$#8)!$63C3!6/-!)2#1#/6$#/;!)00,0B(0,/)!350#($3<!




             LK9D               LK9D                    LK9D                                    Multi Node
Puppet Assigns and Maintains
   a Node’s Desired Role
Managing Configuration Drift
How Puppet Manages Data Flow
         for Individual Nodes

                                                Node




                     1   Facts
                         !"#$%&'#$(#%'($
                         %&)*+,-.#'$'+/+$
                         +0&1/$-/(#,2$/&$/"#$
                         3144#/$5+(/#)6
                                                  SSL secure               2    Catalog
                                                                                3144#/$1(#($/"#$7+8/($/&
                                                  encryption                    8&*4-,#$+$9+/+,&:$/"+/
                                                  on all data                   (4#8-2-#($"&;$/"#$%&'#
                                                  transport                     ("&1,'$0#$8&%2-:1)#'6
Report     3
!"#$%&'#$
)#4&)/($0+8=$
/&$3144#/$
-%'-8+/-%:$/"#$
8&%2-:1)+/-&%$-($
8&*4,#/#>$;"-8"$
-($?-(-0,#$-%$/"#$                              Puppet
3144#/$@+("0&+)'6                               Master             4                    Report Collector
                                                                                        A3144#/$&)$B)'$4+)/<$/&&,C
                                                                Report
                                                                8+%$+,(&$(#%'$'+/+$
                                                                /&$/"-)'$4+)/<$/&&,(6
Facts

 Automatically
Maintained Asset
   Inventory
architecture => i386
domain => local
facterversion => 1.6.6
fqdn => sliver.local
hardwareisa => i386
hardwaremodel => i386
hostname => sliver
id => gh
interfaces => lo0,gif0,stf0,en0,en1,fw0
ipaddress => 192.168.101.185
ipaddress_en1 => 192.168.101.185
ipaddress_lo0 => 127.0.0.1
is_virtual => false
kernel => Darwin
kernelmajversion => 10.8
kernelrelease => 10.8.0
kernelversion => 10.8.0
memoryfree => 102.80 MB
Custom Facts
How Puppet Manages Data Flow
         for Individual Nodes

                                                Node




                     1   Facts
                         !"#$%&'#$(#%'($
                         %&)*+,-.#'$'+/+$
                         +0&1/$-/(#,2$/&$/"#$
                         3144#/$5+(/#)6
                                                  SSL secure               2    Catalog
                                                                                3144#/$1(#($/"#$7+8/($/&
                                                  encryption                    8&*4-,#$+$9+/+,&:$/"+/
                                                  on all data                   (4#8-2-#($"&;$/"#$%&'#
                                                  transport                     ("&1,'$0#$8&%2-:1)#'6
Report     3
!"#$%&'#$
)#4&)/($0+8=$
/&$3144#/$
-%'-8+/-%:$/"#$
8&%2-:1)+/-&%$-($
8&*4,#/#>$;"-8"$
-($?-(-0,#$-%$/"#$                              Puppet
3144#/$@+("0&+)'6                               Master             4                    Report Collector
                                                                                        A3144#/$&)$B)'$4+)/<$/&&,C
                                                                Report
                                                                8+%$+,(&$(#%'$'+/+$
                                                                /&$/"-)'$4+)/<$/&&,(6
Catalog

• Automatically
             maintained
 comprehensive resource list
• Easilyvalidated against
 compliance requirements prior
 to client configuration
How Puppet Manages Data Flow
         for Individual Nodes

                                                Node




                     1   Facts
                         !"#$%&'#$(#%'($
                         %&)*+,-.#'$'+/+$
                         +0&1/$-/(#,2$/&$/"#$
                         3144#/$5+(/#)6
                                                  SSL secure               2    Catalog
                                                                                3144#/$1(#($/"#$7+8/($/&
                                                  encryption                    8&*4-,#$+$9+/+,&:$/"+/
                                                  on all data                   (4#8-2-#($"&;$/"#$%&'#
                                                  transport                     ("&1,'$0#$8&%2-:1)#'6
Report     3
!"#$%&'#$
)#4&)/($0+8=$
/&$3144#/$
-%'-8+/-%:$/"#$
8&%2-:1)+/-&%$-($
8&*4,#/#>$;"-8"$
-($?-(-0,#$-%$/"#$                              Puppet
3144#/$@+("0&+)'6                               Master             4                    Report Collector
                                                                                        A3144#/$&)$B)'$4+)/<$/&&,C
                                                                Report
                                                                8+%$+,(&$(#%'$'+/+$
                                                                /&$/"-)'$4+)/<$/&&,(6
Reporting

• Comprehensive report of every
 change ever made, correlated to every
 resource being managed
• Easily
       validated against compliance
 requirements after reach run
Reporting

•http/https
•log
•store
•tagmail
Reporting
What not How
What not how
Example Resource Types
•   cron
•   exec
•   file
•   group
•   host
•   zfs
•   mount
•   package
•   service
•   sshkey
Package-File-Service
File Serving
Templates
Templates - Advanced
Syntax Checking
Storeconfigs
Ability to pass data between nodes, via
a database acting as a proxy

 •   MySQL
 •   SQLite3
 •   PostgreSQL
 •   Oracle
Storeconfigs
External Node
       Classifier

•Puppet Dashboard

•Your own CMDB
External Node
        Classifier

A script that takes $certname as
an argument and outputs YAML to
STDOUT
External Node
  Classifier
External Node
  Classifier
Expanded Introduction
     to Puppet
    рамках Форума
  технологий Mail.Ru
                2012-04-24
                Moscow, RU

              Garrett Honeycutt
        Professional Services Consultant
           garrett@puppetlabs.com
    http://linkedin.com/in/garretthoneycutt

Contenu connexe

Plus de kuchinskaya

Smirnov reverse-engineering-techforum
Smirnov reverse-engineering-techforumSmirnov reverse-engineering-techforum
Smirnov reverse-engineering-techforumkuchinskaya
 
Kalugin balashov
Kalugin balashovKalugin balashov
Kalugin balashovkuchinskaya
 
владимир габриелян
владимир габриелянвладимир габриелян
владимир габриелянkuchinskaya
 
чашкин иван
чашкин иванчашкин иван
чашкин иванkuchinskaya
 
сумин андрей
сумин андрейсумин андрей
сумин андрейkuchinskaya
 
митасов роман
митасов романмитасов роман
митасов романkuchinskaya
 
кренин владимир
кренин владимиркренин владимир
кренин владимирkuchinskaya
 
константин лебедев
константин лебедевконстантин лебедев
константин лебедевkuchinskaya
 
дыдыкин егор
дыдыкин егордыдыкин егор
дыдыкин егорkuchinskaya
 

Plus de kuchinskaya (20)

Smirnov reverse-engineering-techforum
Smirnov reverse-engineering-techforumSmirnov reverse-engineering-techforum
Smirnov reverse-engineering-techforum
 
Zacepin
ZacepinZacepin
Zacepin
 
Zagursky
ZagurskyZagursky
Zagursky
 
Haritonov
HaritonovHaritonov
Haritonov
 
Chudov
ChudovChudov
Chudov
 
Bubnov
BubnovBubnov
Bubnov
 
A.pleshkov
A.pleshkovA.pleshkov
A.pleshkov
 
Zenovich
ZenovichZenovich
Zenovich
 
Romanenko
RomanenkoRomanenko
Romanenko
 
Perepelitsa
PerepelitsaPerepelitsa
Perepelitsa
 
Osipov
OsipovOsipov
Osipov
 
Kubasov
KubasovKubasov
Kubasov
 
Kalugin balashov
Kalugin balashovKalugin balashov
Kalugin balashov
 
владимир габриелян
владимир габриелянвладимир габриелян
владимир габриелян
 
чашкин иван
чашкин иванчашкин иван
чашкин иван
 
сумин андрей
сумин андрейсумин андрей
сумин андрей
 
митасов роман
митасов романмитасов роман
митасов роман
 
кренин владимир
кренин владимиркренин владимир
кренин владимир
 
константин лебедев
константин лебедевконстантин лебедев
константин лебедев
 
дыдыкин егор
дыдыкин егордыдыкин егор
дыдыкин егор
 

Dernier

How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityEric T. Tung
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Dave Litwiller
 
Organizational Transformation Lead with Culture
Organizational Transformation Lead with CultureOrganizational Transformation Lead with Culture
Organizational Transformation Lead with CultureSeta Wicaksana
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...lizamodels9
 
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒anilsa9823
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfPaul Menig
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756dollysharma2066
 
HONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsHONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsMichael W. Hawkins
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfAdmir Softic
 
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Delhi Call girls
 
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Lviv Startup Club
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...Aggregage
 
Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Roland Driesen
 
7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...Paul Menig
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxAndy Lambert
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communicationskarancommunications
 
John Halpern sued for sexual assault.pdf
John Halpern sued for sexual assault.pdfJohn Halpern sued for sexual assault.pdf
John Halpern sued for sexual assault.pdfAmzadHosen3
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyEthan lee
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayNZSG
 

Dernier (20)

How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League City
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
 
Organizational Transformation Lead with Culture
Organizational Transformation Lead with CultureOrganizational Transformation Lead with Culture
Organizational Transformation Lead with Culture
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
 
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdf
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
 
HONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsHONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael Hawkins
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
 
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
 
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
 
Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...
 
7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptx
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
 
John Halpern sued for sexual assault.pdf
John Halpern sued for sexual assault.pdfJohn Halpern sued for sexual assault.pdf
John Halpern sued for sexual assault.pdf
 
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 May
 

Honeycutt garret expanded_intro_to_puppet_for_mailru

  • 1. Expanded Introduction to Puppet рамках Форума технологий Mail.Ru 2012-04-24 Moscow, RU Garrett Honeycutt Professional Services Consultant garrett@puppetlabs.com http://linkedin.com/in/garretthoneycutt
  • 2. The one-off myth Your systems are not beautiful snowflakes photo from http://beesknees67.deviantart.com/
  • 3. The one-off myth • Only temporary
  • 4. The one-off myth • Only temporary • Replicas for pre-production environments
  • 5. The one-off myth • Only temporary • Replicas for pre-production environments • Disaster recovery
  • 7. Why? • reduce entropy
  • 8. Why? • reduce entropy • disaster recovery
  • 9. Why? • reduce entropy • disaster recovery • change management
  • 10. Why? • reduce entropy • disaster recovery • change management • infrastructure as code
  • 11. Puppet Community Ecosystem Puppet Distribution
 Bundled with major OS ! Text 4,000 person mailing list
 900 conversations a month
 Puppet Community
 750 people at all times in IRC Active participation ! (dedicated channel) 2500+ people 300+ modules Puppet Contributors
 contributing to contributed to Framework documentation Puppet Forge enhancements and code !
  • 12. Puppet is Pervasive Web Entertainment Technology Financial Defense
  • 13. Puppet Enterprise What it is: • Puppet and related components packaged and integrated in one install: • Puppet • Puppet Master • Dashboard • Facter • Ruby • Apache • Passenger, etc.
  • 14. Puppet Enterprise • Fully QA’d stack of Puppet and dependencies • Simplified installation • Ease of maintenance • Pre-configured for scalability and performance • Predictable enhancement delivery • Enhanced enterprise class Support
  • 15. How Puppet Works 1 Define: !"#$%&'(()#*+%,)-./0/#"1)% % ./23'/3)%45'%,)+"32%/%30/($%56% 0)./#"52+$"(+%7)#8))2%0)+5'0-)+%8"#$"2% 0)'+/7.)%95,'.)+:%;$)+)%95,'.)+%,)6"2)% 45'0%"260/+#0'-#'0)%"2%"#+%,)+"0),%+#/#): JB B D@ HI %E CB B@ ED %AG G> B%@ A ; B D @; %4 Report: &'(()#%>/+$75/0,%0)(50#+% 2 Simulate:%!"#$%#$"+%0)+5'0-)% % #0/-?%0)./#"52+$"(+%7)#8))2% % 30/($<%&'(()#%"+%'2"=')%"2%"#+% -59(52)2#+%/2,%/..%-$/23)+<%/..58"23% /7"."#4%#5%+"9'./#)%,)(.549)2#+<%)2/7."23% 45'%#5%?))(%'(%8"#$%+)-'0"#4%/2,% 45'%#5%#)+#%-$/23)+%8"#$5'#%,"+0'(#"52% -59(."/2-)%9/2,/#)+:%@2,%8"#$%#$)% #5%45'0%"260/+#0'-#'0): 5()2%@&A%45'%-/2%"2#)30/#)%&'(()#%8"#$% #$"0,%(/0#4%952"#50"23%#55.+: EFDDBG; %3 Enforce:%&'(()#%-59(/0)+%45'0% C;@;B % +4+#)9%#5%#$)%,)+"0),%+#/#)%/+%45'% ,)6"2)%"#<%/2,%/'#59/#"-/..4%)2650-)+%"#% >BCADB> C;@;B #5%#$)%,)+"0),%+#/#)%)2+'0"23%45'0%+4+#)9% "+%"2%-59(."/2-):
  • 16. Use Puppet to create composable configurations Modules and manage the enterprise infrastructure 1 Define Your Resources in Modules. ! "#$%!&'(()$*!+,'!-).#/)!+,'0!1,-'2)3!4+!/,-)! 9GHGAG7D "DA!7DEFDE G&&!7DEFDE 7D?MEJH = 52633#.#56$#,/3*!3'5%!63!")4!7)08)0!,0!96$6463)*!622,:#/;! +,'!$,!-).#/)!0)26$#,/3%#(3!4)$:))/!0)3,'05)3!6/-! 5,/.#;'0)!$%,'36/-3!,.!3)08)03!6$!,/5)<! Via Custom Assign resource relationships automatically.! Puppet Dashboard External Source (CMDB, LDAP, etc.) 2 ! =,'!56/!$%)/!633#;/!6/-!-)(2,+!5,/.#;'06$#,/3! 8#6!&'(()$!963%4,60-*!,0!:#$%!+,'0!,:/!5'3$,1#>)-! ?@9A!$,,23< "DA!7DEFDE7 9GHGAG7D!7DEFDE7 G&&IJ?GHJKL!7DEFDE7 LK9D LK9D LK9D 3 Reusable, composable configurations. ! ! "#$%!&'(()$!+,'!56/!0)B'3)!1,-'2)3!650,33!1'2$#(2)! /,-)3*!#/!:%6$)8)0!5,14#/6$#,/!+,'!/))-*!0)-'5#/;! 0)()$#$#8)!$63C3!6/-!)2#1#/6$#/;!)00,0B(0,/)!350#($3<! LK9D LK9D LK9D Multi Node
  • 17. Puppet Assigns and Maintains a Node’s Desired Role
  • 19. How Puppet Manages Data Flow for Individual Nodes Node 1 Facts !"#$%&'#$(#%'($ %&)*+,-.#'$'+/+$ +0&1/$-/(#,2$/&$/"#$ 3144#/$5+(/#)6 SSL secure 2 Catalog 3144#/$1(#($/"#$7+8/($/& encryption 8&*4-,#$+$9+/+,&:$/"+/ on all data (4#8-2-#($"&;$/"#$%&'# transport ("&1,'$0#$8&%2-:1)#'6 Report 3 !"#$%&'#$ )#4&)/($0+8=$ /&$3144#/$ -%'-8+/-%:$/"#$ 8&%2-:1)+/-&%$-($ 8&*4,#/#>$;"-8"$ -($?-(-0,#$-%$/"#$ Puppet 3144#/$@+("0&+)'6 Master 4 Report Collector A3144#/$&)$B)'$4+)/<$/&&,C Report 8+%$+,(&$(#%'$'+/+$ /&$/"-)'$4+)/<$/&&,(6
  • 21. architecture => i386 domain => local facterversion => 1.6.6 fqdn => sliver.local hardwareisa => i386 hardwaremodel => i386 hostname => sliver id => gh interfaces => lo0,gif0,stf0,en0,en1,fw0 ipaddress => 192.168.101.185 ipaddress_en1 => 192.168.101.185 ipaddress_lo0 => 127.0.0.1 is_virtual => false kernel => Darwin kernelmajversion => 10.8 kernelrelease => 10.8.0 kernelversion => 10.8.0 memoryfree => 102.80 MB
  • 23. How Puppet Manages Data Flow for Individual Nodes Node 1 Facts !"#$%&'#$(#%'($ %&)*+,-.#'$'+/+$ +0&1/$-/(#,2$/&$/"#$ 3144#/$5+(/#)6 SSL secure 2 Catalog 3144#/$1(#($/"#$7+8/($/& encryption 8&*4-,#$+$9+/+,&:$/"+/ on all data (4#8-2-#($"&;$/"#$%&'# transport ("&1,'$0#$8&%2-:1)#'6 Report 3 !"#$%&'#$ )#4&)/($0+8=$ /&$3144#/$ -%'-8+/-%:$/"#$ 8&%2-:1)+/-&%$-($ 8&*4,#/#>$;"-8"$ -($?-(-0,#$-%$/"#$ Puppet 3144#/$@+("0&+)'6 Master 4 Report Collector A3144#/$&)$B)'$4+)/<$/&&,C Report 8+%$+,(&$(#%'$'+/+$ /&$/"-)'$4+)/<$/&&,(6
  • 24. Catalog • Automatically maintained comprehensive resource list • Easilyvalidated against compliance requirements prior to client configuration
  • 25. How Puppet Manages Data Flow for Individual Nodes Node 1 Facts !"#$%&'#$(#%'($ %&)*+,-.#'$'+/+$ +0&1/$-/(#,2$/&$/"#$ 3144#/$5+(/#)6 SSL secure 2 Catalog 3144#/$1(#($/"#$7+8/($/& encryption 8&*4-,#$+$9+/+,&:$/"+/ on all data (4#8-2-#($"&;$/"#$%&'# transport ("&1,'$0#$8&%2-:1)#'6 Report 3 !"#$%&'#$ )#4&)/($0+8=$ /&$3144#/$ -%'-8+/-%:$/"#$ 8&%2-:1)+/-&%$-($ 8&*4,#/#>$;"-8"$ -($?-(-0,#$-%$/"#$ Puppet 3144#/$@+("0&+)'6 Master 4 Report Collector A3144#/$&)$B)'$4+)/<$/&&,C Report 8+%$+,(&$(#%'$'+/+$ /&$/"-)'$4+)/<$/&&,(6
  • 26. Reporting • Comprehensive report of every change ever made, correlated to every resource being managed • Easily validated against compliance requirements after reach run
  • 29.
  • 32. Example Resource Types • cron • exec • file • group • host • zfs • mount • package • service • sshkey
  • 38. Storeconfigs Ability to pass data between nodes, via a database acting as a proxy • MySQL • SQLite3 • PostgreSQL • Oracle
  • 40. External Node Classifier •Puppet Dashboard •Your own CMDB
  • 41. External Node Classifier A script that takes $certname as an argument and outputs YAML to STDOUT
  • 42. External Node Classifier
  • 43. External Node Classifier
  • 44. Expanded Introduction to Puppet рамках Форума технологий Mail.Ru 2012-04-24 Moscow, RU Garrett Honeycutt Professional Services Consultant garrett@puppetlabs.com http://linkedin.com/in/garretthoneycutt