plugging chocolatey into your puppet infrastructure - puppetconf 2014

Download Plugging Chocolatey into Your Puppet Infrastructure - PuppetConf 2014

If you can't read please download the document

Upload: puppet-labs

Post on 26-May-2015

956 views

Category:

Technology


1 download

DESCRIPTION

Plugging Chocolatey into Your Puppet Infrastructure - Rob Reynolds, Puppet Labs

TRANSCRIPT

  • 1. 2014Presented byPlugging Chocolateyinto your PuppetInfrastructureRob ReynoldsSenior Software Engineer | PuppetLabs@ferventcoder

2. Presented byRob Reynolds Developer at Puppet Labs Creator of Chocolatey All around nice guy Making your Windows worlda better place Windows, its a technique 3. Presented byAgenda Chocolatey? Chocolatey Provider Why Chocolatey? Creating Packages Host your own package server Announcements 4. What Exactly is Chocolatey?Presented by 5. Package Manager for Windows Behaves much like yumChocolateyPresented by Microsoft validated Technologies: PowerShell+ NuGet packaging framework Does not violate distributionrights 6. Presented bychocolatey.org Community feed Community maintained Trust issues? Recommendation: Abusiness should runtheir own internal feed5 Million Downloads! 7. Chocolatey Puppet ProviderPresented by 8. Presented byPuppet Provider puppet module installrismoney/chocolatey Rich is a committer Doesnt yet installchocolatey 9. Presented byPackage Resource installable, uninstallable, upgradeable, versionable,install_options Soon: holdable, uninstall_options Later: virtual_packages 10. Why Chocolatey provider versusPresented bythe built in provider? 11. Presented byUse case: git Name ofpackage Source Manifestmaintenance 12. Presented byWhy Chocolatey Provider? Synonymous with other package managers No edge cases like version in application names No edge cases like unicode symbols (em-dash,em-I-rite?) in app names No source needing to point to the installer. Can Iget a WAT 13. Make Chocolatey your default! Set Package resourcedefault for provider tochocolatey on WindowsPresented by Note: There might be better ways of doingthis, follow those guidelines when conflicting :) 14. Chocolatey Provider DemoPresented by 15. Presented byCreating Packages 16. Presented byCreating Packages *.nuspec chocolateyInstall.ps1 Other resources like binaries / config files, etc Getting started / reference at https://bit.ly/createchocolateypackages 17. Presented bypackagename.nuspec This is a nugetpackagingspecification Later: choco addinginfrastructure, osversions, etc 18. Presented bychocolateyInstall.ps1 Helpers / Functions Reduce work PowerShell, you cando *anything* Function referencehttp://bit.ly/chocolateyfunctionreference 19. Presented byCreate Packages Visually Nuget Package Explorer(choco installnugetpackageexplorer) Ignore its warnings, it isgeared towards NuGetproper NO content folder 20. Create Packages DemoPresented by 21. Host Your Own ChocolateyPresented byPackage Server 22. Presented byHost Chocolatey Packages Now its easy to set up yourown package feed Make it custom/internal forbusiness purposes. chocolatey.server package Beta Simple server 23. Chocolatey Package ServerPresented byDemo 24. Presented byAnnouncements 25. Presented bySo its been a year A year ago we: were on Choco v0.9.8.20 the chocolatey puppet module was just fixed and no easy way to install a private choco server 26. Presented byGetting Chocolatey Chocolatey Executable First public viewing here today Stability / Performance improvements Help menu improvements (like, there is one now) Lots of command switches Global Noop 27. Presented byJust how much faster is it? Checking upgrades across 114 packages!!! Almost 600% increase!!! Granted this is still slow, butpackage indexes are coming later 28. Okay how about no network? choco list -loPresented by!!! 300% increase! 29. Chocolatey Puppet Provider How many of you would like to see thecurrent provider get better?Presented by How many of you think it would beawesome if it were a Puppet Labssupported module? How many of you just want chocolate? 30. Supported Module Yes, we plan to provide a Puppet Labs supportedmodule!Presented by 31. chocolatey.org Improvements Mark outdatedPresented by Mark bad Security improvements stillcoming 32. Demo of new Chocolatey!Presented by 33. Questions? Join the newsletter for announcements - https://chocolatey.org/#newsletterPresented by ferventcoder { twitter, github, gmail }, [email protected] 34. Presented byThank you! Other awesome things involving Windows: Getting started w/Puppet on Windows (Josh Cooper) -Wed 2:20PM - Golden Gate B Workshop: Puppet for Windows Users (Ethan Brown) -Wed 3:10 - Salon 2-3 Puppet Demo: Managing Windows with PuppetEnterprise - today/tomorrow - Nob Hill