Puppet Camp Paris 2014: Shipping Puppet Modules As Packages
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Puppet Camp Paris 2014: Shipping Puppet Modules As Packages

on

  • 625 views

Shipping Puppet Modules As Packages talk by Stefano Zanella from Puppet Camp Paris: 4.8.2014

Shipping Puppet Modules As Packages talk by Stefano Zanella from Puppet Camp Paris: 4.8.2014

Statistics

Views

Total Views
625
Views on SlideShare
590
Embed Views
35

Actions

Likes
1
Downloads
6
Comments
0

2 Embeds 35

http://puppetlabs.com 26
https://puppetlabs.com 9

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Puppet Camp Paris 2014: Shipping Puppet Modules As Packages Presentation Transcript

  • 1. Shipping ships that ship ships (aka: shipping Puppet modules as native packages) Stefano Zanella PuppetCamp Paris 08 Apr 2014
  • 2. ne pas http://movieposters.2038.net/p/Tirez-Sur-Le-Pianiste_1.jpg
  • 3. http://cdn.filmschoolrejects.com/images/Rotten-Tomatoes-e1344326498598.jpeg
  • 4. http://cdn.memegenerator.net/instances/500x/48199068.jpg
  • 5. @stefano_zanella github.com/stefanozanella blog.dontwakethecat.net
  • 6. http://i.imgur.com/29EcG.jpg
  • 7. Why?
  • 8. much movies such screenz very BTS. wow
  • 9. Phase 0 black-box provisioning :-(
  • 10. Phase 1 trial-and-error puppetization :-)
  • 11. puppetmasters
  • 12. http://cdn.memegenerator.net/instances/500x/48230642.jpg
  • 13. http://911review.com/errors/pentagon/imgs/f4_1.jpg
  • 14. What about librarian-puppet?
  • 15. http://pulpproject.org
  • 16. …let’s write a gem!
  • 17. The idea Puppet code rake (rpm|deb) (rpm|deb) package
  • 18. The rules 1) Be nice to others
  • 19. The rules 2) Don’t reinvent (too much of) the wheel
  • 20. Welcome puppet_module_packaging (Naming anyone? No?? Sure???)
  • 21. Modulefile + fpm
  • 22. (find /etc/puppet/modules/{ssh,rsync,…,ceilometer,openstack}/ -type f -print0 | du --files0-from=- -hc | tail -n 1) 2> /dev/null ! 7.1M       total
  • 23. (find /etc/puppet/modules/{ssh,rsync,…,ceilometer,openstack}/ {manifests,lib,Modulefile,metadata.json} -type f -print0 | du --files0-from=- -hc | tail -n 1) 2> /dev/null ! 3.8M       total
  • 24. puppet-mod-<author>-<name>
  • 25. :recursive => true
  • 26. Live coding
  • 27. The end?
  • 28. WANTED conflicts/replacements CLI UI error handling metadata.json Puppetfile support? …
  • 29. BONUS r10k
  • 30. BONUS r10k (GOTCHA: does NOT resolve dependencies, and so it is UP TO YOU to track them in your Puppetfile)
  • 31. BONUS r10k http://somethingsinistral.net/blog/rethinking-puppet-deployment ! http://garylarizza.com/blog/2014/02/17/puppet-workflow-part-1
  • 32. Thanks @stefano_zanella https://github.com/stefanozanella blog.dontwakethecat.net ! https://github.com/stefanozanella/puppet_module_packaging
  • 33. Q&A