Puppet v3 and Hiera               LOAD              2013-04-07             Antwerpen, BE             Garrett HoneycuttAuto...
# whoami...not a graphic designer
What’s new in v3?it looks different
What’s new in v3?Ruby 1.9.3 fully  supported
What’s new in v3?Better support for  Windows and     Solaris
What’s new in v3?puppet kick warnsabout deprecation
What’s new in v3?     Speed
What’s new in v3?                                                           Adrien Thebo         http://somethingsinistral...
What’s new in v3?dynamic scoping
What’s new in v3?dynamic scoping    Gone!
scopinginclude dynamicclass dynamic {  $var = ‘from dynamic’  include included}class included {  notify { $var: }         ...
What’s new in v3?looking up your      data
data lookup precedence# class defaultsclass foo ( attribute = ‘module_default’,){ ...}
data lookup precedence# passing a value with# parameterized classesclass { ‘foo’: attribute => ‘param_data’,}
data lookup precedence# Hiera# <whatever>.yamlfoo::attribute: “no data in code”
HieraWait.. What’s Hiera?        aka    demo time
StyleWhy declaring parameterized      classes is evil
data in code :(class { ‘common’:  root_password => ‘mypass’,}
StyleWhy defining parameterized   classes is awesome
sane defaults :)class common (  root_password = ‘puppet’,){  ...}
StyleWhy defining parameterizedclasses is really awesome
data lookups in Hieracommon::root_password: mysecret
Puppet v3 and Hiera               LOAD              2013-04-07             Antwerpen, BE             Garrett HoneycuttAuto...
Upcoming SlideShare
Loading in …5
×

20130407 load puppevtv3-and_hiera

742 views

Published on

0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
742
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
9
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

20130407 load puppevtv3-and_hiera

  1. 1. Puppet v3 and Hiera LOAD 2013-04-07 Antwerpen, BE Garrett HoneycuttAutomation Consultant @ GH Solutions, LLC gh@garretthoneycutt.com http://linkedin.com/in/garretthoneycutt
  2. 2. # whoami...not a graphic designer
  3. 3. What’s new in v3?it looks different
  4. 4. What’s new in v3?Ruby 1.9.3 fully supported
  5. 5. What’s new in v3?Better support for Windows and Solaris
  6. 6. What’s new in v3?puppet kick warnsabout deprecation
  7. 7. What’s new in v3? Speed
  8. 8. What’s new in v3? Adrien Thebo http://somethingsinistral.net/blog/the-angry-guide-to-puppet-3/
  9. 9. What’s new in v3?dynamic scoping
  10. 10. What’s new in v3?dynamic scoping Gone!
  11. 11. scopinginclude dynamicclass dynamic { $var = ‘from dynamic’ include included}class included { notify { $var: } # deprecated notify { $dynamic::var: } # correct}
  12. 12. What’s new in v3?looking up your data
  13. 13. data lookup precedence# class defaultsclass foo ( attribute = ‘module_default’,){ ...}
  14. 14. data lookup precedence# passing a value with# parameterized classesclass { ‘foo’: attribute => ‘param_data’,}
  15. 15. data lookup precedence# Hiera# <whatever>.yamlfoo::attribute: “no data in code”
  16. 16. HieraWait.. What’s Hiera? aka demo time
  17. 17. StyleWhy declaring parameterized classes is evil
  18. 18. data in code :(class { ‘common’: root_password => ‘mypass’,}
  19. 19. StyleWhy defining parameterized classes is awesome
  20. 20. sane defaults :)class common ( root_password = ‘puppet’,){ ...}
  21. 21. StyleWhy defining parameterizedclasses is really awesome
  22. 22. data lookups in Hieracommon::root_password: mysecret
  23. 23. Puppet v3 and Hiera LOAD 2013-04-07 Antwerpen, BE Garrett HoneycuttAutomation Consultant @ GH Solutions, LLC gh@garretthoneycutt.com http://linkedin.com/in/garretthoneycutt

×