SlideShare a Scribd company logo
2014 
Presented by 
Plugging Chocolatey 
into your Puppet 
Infrastructure 
Rob Reynolds 
Senior Software Engineer | Puppet 
Labs 
@ferventcoder
Presented by 
Rob Reynolds 
• Developer at Puppet Labs 
• Creator of Chocolatey 
• All around nice guy 
• Making your Windows world 
a better place 
• Windows, it’s a technique
Presented by 
Agenda 
• Chocolatey? 
• Chocolatey Provider 
• Why Chocolatey? 
• Creating Packages 
• Host your own package server 
• Announcements
What Exactly is Chocolatey? 
Presented by
Package Manager for Windows 
• Behaves much like yum 
Chocolatey 
Presented by 
• Microsoft validated 
• Technologies: PowerShell 
+ NuGet packaging framework 
• Does not violate distribution 
rights
Presented by 
chocolatey.org 
• Community feed 
• Community maintained 
• Trust issues? 
• Recommendation: A 
business should run 
their own internal feed 
5 Million Downloads!
Chocolatey Puppet Provider 
Presented by
Presented by 
Puppet Provider 
• puppet module install 
rismoney/chocolatey 
• Rich is a committer 
• Doesn’t yet install 
chocolatey
Presented by 
Package Resource 
• installable, uninstallable, upgradeable, versionable, 
install_options 
• Soon: holdable, uninstall_options 
• Later: virtual_packages
Why Chocolatey provider versus 
Presented by 
the built in provider?
Presented by 
Use case: git 
• Name of 
package 
• Source 
• Manifest 
maintenance
Presented by 
Why 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 I 
get a WAT
Make Chocolatey your default! 
• Set Package resource 
default for provider to 
chocolatey on Windows 
Presented by 
• Note: There might be better ways of doing 
this, follow those guidelines when conflicting :)
Chocolatey Provider Demo 
Presented by
Presented by 
Creating Packages
Presented by 
Creating Packages 
• *.nuspec 
• chocolateyInstall.ps1 
• Other resources like binaries / config files, etc 
• Getting started / reference at https://bit.ly/ 
createchocolateypackages
Presented by 
packagename.nuspec 
• This is a nuget 
packaging 
specification 
• Later: choco adding 
infrastructure, os 
versions, etc
Presented by 
chocolateyInstall.ps1 
• Helpers / Functions 
• Reduce work 
• PowerShell, you can 
do *anything* 
• Function reference 
http://bit.ly/chocolateyfunctionreference
Presented by 
Create Packages Visually 
• Nuget Package Explorer 
(choco install 
nugetpackageexplorer) 
• Ignore its warnings, it is 
geared towards NuGet 
proper 
• NO content folder
Create Packages Demo 
Presented by
Host Your Own Chocolatey 
Presented by 
Package Server
Presented by 
Host Chocolatey Packages 
• Now it’s easy to set up your 
own package feed 
• Make it custom/internal for 
business purposes. 
• chocolatey.server package 
• Beta 
• Simple server
Chocolatey Package Server 
Presented by 
Demo
Presented by 
Announcements
Presented by 
So it’s 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
Presented by 
Getting 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
Presented by 
Just how much faster is it? 
• Checking upgrades across 114 packages 
! 
! 
! 
• Almost 600% increase!!! Granted this is still slow, but 
package indexes are coming later
Okay how about no network? 
• choco list -lo 
Presented by 
! 
! 
! 
• 300% increase!
Chocolatey Puppet Provider 
• How many of you would like to see the 
current provider get better? 
Presented by 
• How many of you think it would be 
awesome if it were a Puppet Labs 
supported module? 
• How many of you just want chocolate?
Supported Module 
• Yes, we plan to provide a Puppet Labs supported 
module! 
Presented by
chocolatey.org Improvements 
• Mark outdated 
Presented by 
• Mark bad 
• Security improvements still 
coming
Demo of new Chocolatey! 
Presented by
Questions? 
• Join the newsletter for announcements - https:// 
chocolatey.org/#newsletter 
Presented by 
• ferventcoder { twitter, github, gmail }, also 
rob@puppetlabs.com
Presented by 
Thank 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 Puppet 
Enterprise - today/tomorrow - Nob Hill

More Related Content

PDF
Chocolatey Goodness: From Fringe to Mainstream #dotnetfringe
PPTX
Mmmm, chocolatey goodness!
PDF
Windows Just Got Chocolatey (Package Management) LISA15
PDF
Chocolatey and Puppet: Managing Your Windows Software Since 2011
PDF
Puppet On Windows - Puppet Camp DC 2015
PDF
PuppetConf 2016: Easily Manage Software on Windows with Chocolatey – Rob Reyn...
PDF
Easily Manage Software on Windows with Chocolatey - PuppetConf 2016
PPTX
PuppetConf 2016: How Not to Freak Out When You Start Writing Puppet Modules f...
Chocolatey Goodness: From Fringe to Mainstream #dotnetfringe
Mmmm, chocolatey goodness!
Windows Just Got Chocolatey (Package Management) LISA15
Chocolatey and Puppet: Managing Your Windows Software Since 2011
Puppet On Windows - Puppet Camp DC 2015
PuppetConf 2016: Easily Manage Software on Windows with Chocolatey – Rob Reyn...
Easily Manage Software on Windows with Chocolatey - PuppetConf 2016
PuppetConf 2016: How Not to Freak Out When You Start Writing Puppet Modules f...

What's hot (20)

PPTX
using Chocolatey for application deployments
PPTX
Running a Successful Open Source Project
PDF
My Contributor Story
PDF
It Takes a Village to Make WordPress
PPTX
Panopoly - Boulder DBUG 13 Nov 2013
KEY
MozTW Jetpack Workshop: Taipei
PPTX
Netbeans dev and ecosystem
PPTX
An (Updated) Introduction to Gutenberg
ODP
Selenium at Mozilla: An Essential Element to our Success
PDF
Accelerating Custom Development with Dynamic Scaffolding and WP-CLI
PPTX
Engage 2019 - De04. Java with Domino After XPages
PDF
CP3108B midterm presentation
PDF
Wp cli- intro and basics
PDF
Setting up your development environment
PDF
544 Project Part 1
PDF
Joomlaplatform en
PDF
Devops at Startup Weekend BXL
PDF
You'll Never Look at Developer Support the Same Way Again
PPTX
Tbilisi hackaton intro
PDF
Drupal 8 Adoption Myths Debunked
using Chocolatey for application deployments
Running a Successful Open Source Project
My Contributor Story
It Takes a Village to Make WordPress
Panopoly - Boulder DBUG 13 Nov 2013
MozTW Jetpack Workshop: Taipei
Netbeans dev and ecosystem
An (Updated) Introduction to Gutenberg
Selenium at Mozilla: An Essential Element to our Success
Accelerating Custom Development with Dynamic Scaffolding and WP-CLI
Engage 2019 - De04. Java with Domino After XPages
CP3108B midterm presentation
Wp cli- intro and basics
Setting up your development environment
544 Project Part 1
Joomlaplatform en
Devops at Startup Weekend BXL
You'll Never Look at Developer Support the Same Way Again
Tbilisi hackaton intro
Drupal 8 Adoption Myths Debunked
Ad

Viewers also liked (19)

PDF
Getting Started with Puppet on Windows - PuppetConf 2014
PDF
Managing windows with Puppet and Chocolatey
PDF
Test-Driven Puppet Development - PuppetConf 2014
PDF
PuppetConf 2016: Testing and Delivering Puppet – Michael Stahnke, Puppet
PDF
PuppetConf 2016: Puppet 4.x: The Low WAT-tage Edition – Nick Fagerlund, Puppet
PDF
PuppetConf 2016: Collaboration and Empowerment: Driving Change in Infrastruct...
PDF
Puppet at GitHub
PDF
Configuration Changes Don't Have to be Scary: Testing with containers
PPTX
Introducion to Puppet Enterprise
PDF
PuppetConf 2016: An Introduction to Measuring and Tuning PE Performance – Cha...
PPTX
Canadian Cyber Cecurity
PDF
PuppetConf 2016: Best Practices for Puppet in the Cloud – Randall Hunt, Amazo...
PDF
PuppetConf 2016: The Long, Twisty Road to Automation: Implementing Puppet at ...
PDF
Pro Puppet
PDF
PuppetConf 2016: High Availability for Puppet – Russ Mull & Zack Smith, Puppet
PDF
PuppetConf. 2016: Puppet Best Practices: Roles & Profiles – Gary Larizza, Puppet
PDF
PuppetConf 2016: Successful Puppet Implementation in Large Organizations – Ja...
PDF
PuppetConf 2016: Puppet and vRealize Automation: The Next Generation – Ganesh...
PPTX
Introduction to Puppet Enterprise
Getting Started with Puppet on Windows - PuppetConf 2014
Managing windows with Puppet and Chocolatey
Test-Driven Puppet Development - PuppetConf 2014
PuppetConf 2016: Testing and Delivering Puppet – Michael Stahnke, Puppet
PuppetConf 2016: Puppet 4.x: The Low WAT-tage Edition – Nick Fagerlund, Puppet
PuppetConf 2016: Collaboration and Empowerment: Driving Change in Infrastruct...
Puppet at GitHub
Configuration Changes Don't Have to be Scary: Testing with containers
Introducion to Puppet Enterprise
PuppetConf 2016: An Introduction to Measuring and Tuning PE Performance – Cha...
Canadian Cyber Cecurity
PuppetConf 2016: Best Practices for Puppet in the Cloud – Randall Hunt, Amazo...
PuppetConf 2016: The Long, Twisty Road to Automation: Implementing Puppet at ...
Pro Puppet
PuppetConf 2016: High Availability for Puppet – Russ Mull & Zack Smith, Puppet
PuppetConf. 2016: Puppet Best Practices: Roles & Profiles – Gary Larizza, Puppet
PuppetConf 2016: Successful Puppet Implementation in Large Organizations – Ja...
PuppetConf 2016: Puppet and vRealize Automation: The Next Generation – Ganesh...
Introduction to Puppet Enterprise
Ad

Similar to Plugging Chocolatey into your Puppet Infrastructure PuppetConf2014 (20)

PPTX
Package Management on Windows with Chocolatey
PDF
PuppetConf 2017: Modern Software Management on Windows with Chocolatey and Pu...
PDF
Modern Software Management on Windows with Chocolatey and Puppet
PPTX
Easily Manage Patching and Application Updates with Chocolatey + Puppet - Apr...
PDF
Chocolatey + Artifactory = A Sweet Solution for Managing Windows
PDF
Puppet on Windows: Now You're Getting Chocolatey PuppetConf2013
PDF
Modern Software Management on Windows w/Chocolatey
PDF
Modern Software Management on Windows w/Chocolatey - That Conference 2017
PDF
Chocolatey for Organizations: Easily Manage Software - PowerShell Summit 2019
PPTX
NJEdgeCon2018-Automating-Package-Management-in-Windows-with-Chocolatey
PDF
Chocolatey + DSC = Software Automation Sweeter - PowerShell Day UK
PDF
Chocolatey - Software Automation for Windows (and sneak peak of Central Mana...
PDF
Software Management with PowerShell DSC and Chocolatey - PowerShell Summit 2017
PDF
Modern Software Management on Windows with Chocolatey - Automation Management...
PDF
Chocolatey - making the process of installing software on windows easy as pie
PDF
London Puppet Camp 2015: Hiscox
PDF
Six Weird Facts about Puppet on Windows
PPTX
The Business Value of Modernizing your Windows Infrastructure and Bringing Li...
PPTX
MDATP & Chocolatey - we Belgians love our Chocolate(y')s
PDF
WinOps in a Secure Environment
Package Management on Windows with Chocolatey
PuppetConf 2017: Modern Software Management on Windows with Chocolatey and Pu...
Modern Software Management on Windows with Chocolatey and Puppet
Easily Manage Patching and Application Updates with Chocolatey + Puppet - Apr...
Chocolatey + Artifactory = A Sweet Solution for Managing Windows
Puppet on Windows: Now You're Getting Chocolatey PuppetConf2013
Modern Software Management on Windows w/Chocolatey
Modern Software Management on Windows w/Chocolatey - That Conference 2017
Chocolatey for Organizations: Easily Manage Software - PowerShell Summit 2019
NJEdgeCon2018-Automating-Package-Management-in-Windows-with-Chocolatey
Chocolatey + DSC = Software Automation Sweeter - PowerShell Day UK
Chocolatey - Software Automation for Windows (and sneak peak of Central Mana...
Software Management with PowerShell DSC and Chocolatey - PowerShell Summit 2017
Modern Software Management on Windows with Chocolatey - Automation Management...
Chocolatey - making the process of installing software on windows easy as pie
London Puppet Camp 2015: Hiscox
Six Weird Facts about Puppet on Windows
The Business Value of Modernizing your Windows Infrastructure and Bringing Li...
MDATP & Chocolatey - we Belgians love our Chocolate(y')s
WinOps in a Secure Environment

Recently uploaded (20)

PPTX
Patient Appointment Booking in Odoo with online payment
PDF
17 Powerful Integrations Your Next-Gen MLM Software Needs
PDF
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
PDF
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
DOCX
Greta — No-Code AI for Building Full-Stack Web & Mobile Apps
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Tally Prime Crack Download New Version 5.1 [2025] (License Key Free
PDF
Complete Guide to Website Development in Malaysia for SMEs
PPTX
CHAPTER 2 - PM Management and IT Context
PPTX
Monitoring Stack: Grafana, Loki & Promtail
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
PDF
Autodesk AutoCAD Crack Free Download 2025
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
Advanced SystemCare Ultimate Crack + Portable (2025)
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
CCleaner Pro 6.38.11537 Crack Final Latest Version 2025
Patient Appointment Booking in Odoo with online payment
17 Powerful Integrations Your Next-Gen MLM Software Needs
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
How to Choose the Right IT Partner for Your Business in Malaysia
Greta — No-Code AI for Building Full-Stack Web & Mobile Apps
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Tally Prime Crack Download New Version 5.1 [2025] (License Key Free
Complete Guide to Website Development in Malaysia for SMEs
CHAPTER 2 - PM Management and IT Context
Monitoring Stack: Grafana, Loki & Promtail
Odoo Companies in India – Driving Business Transformation.pdf
Navsoft: AI-Powered Business Solutions & Custom Software Development
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
Autodesk AutoCAD Crack Free Download 2025
Design an Analysis of Algorithms II-SECS-1021-03
Advanced SystemCare Ultimate Crack + Portable (2025)
Design an Analysis of Algorithms I-SECS-1021-03
CCleaner Pro 6.38.11537 Crack Final Latest Version 2025

Plugging Chocolatey into your Puppet Infrastructure PuppetConf2014

  • 1. 2014 Presented by Plugging Chocolatey into your Puppet Infrastructure Rob Reynolds Senior Software Engineer | Puppet Labs @ferventcoder
  • 2. Presented by Rob Reynolds • Developer at Puppet Labs • Creator of Chocolatey • All around nice guy • Making your Windows world a better place • Windows, it’s a technique
  • 3. Presented by Agenda • 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 yum Chocolatey Presented by • Microsoft validated • Technologies: PowerShell + NuGet packaging framework • Does not violate distribution rights
  • 6. Presented by chocolatey.org • Community feed • Community maintained • Trust issues? • Recommendation: A business should run their own internal feed 5 Million Downloads!
  • 8. Presented by Puppet Provider • puppet module install rismoney/chocolatey • Rich is a committer • Doesn’t yet install chocolatey
  • 9. Presented by Package Resource • installable, uninstallable, upgradeable, versionable, install_options • Soon: holdable, uninstall_options • Later: virtual_packages
  • 10. Why Chocolatey provider versus Presented by the built in provider?
  • 11. Presented by Use case: git • Name of package • Source • Manifest maintenance
  • 12. Presented by Why 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 I get a WAT
  • 13. Make Chocolatey your default! • Set Package resource default for provider to chocolatey on Windows Presented by • Note: There might be better ways of doing this, follow those guidelines when conflicting :)
  • 14. Chocolatey Provider Demo Presented by
  • 16. Presented by Creating Packages • *.nuspec • chocolateyInstall.ps1 • Other resources like binaries / config files, etc • Getting started / reference at https://bit.ly/ createchocolateypackages
  • 17. Presented by packagename.nuspec • This is a nuget packaging specification • Later: choco adding infrastructure, os versions, etc
  • 18. Presented by chocolateyInstall.ps1 • Helpers / Functions • Reduce work • PowerShell, you can do *anything* • Function reference http://bit.ly/chocolateyfunctionreference
  • 19. Presented by Create Packages Visually • Nuget Package Explorer (choco install nugetpackageexplorer) • Ignore its warnings, it is geared towards NuGet proper • NO content folder
  • 20. Create Packages Demo Presented by
  • 21. Host Your Own Chocolatey Presented by Package Server
  • 22. Presented by Host Chocolatey Packages • Now it’s easy to set up your own package feed • Make it custom/internal for business purposes. • chocolatey.server package • Beta • Simple server
  • 23. Chocolatey Package Server Presented by Demo
  • 25. Presented by So it’s 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 by Getting 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 by Just how much faster is it? • Checking upgrades across 114 packages ! ! ! • Almost 600% increase!!! Granted this is still slow, but package indexes are coming later
  • 28. Okay how about no network? • choco list -lo Presented by ! ! ! • 300% increase!
  • 29. Chocolatey Puppet Provider • How many of you would like to see the current provider get better? Presented by • How many of you think it would be awesome if it were a Puppet Labs supported module? • How many of you just want chocolate?
  • 30. Supported Module • Yes, we plan to provide a Puppet Labs supported module! Presented by
  • 31. chocolatey.org Improvements • Mark outdated Presented by • Mark bad • Security improvements still coming
  • 32. Demo of new Chocolatey! Presented by
  • 33. Questions? • Join the newsletter for announcements - https:// chocolatey.org/#newsletter Presented by • ferventcoder { twitter, github, gmail }, also rob@puppetlabs.com
  • 34. Presented by Thank 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 Puppet Enterprise - today/tomorrow - Nob Hill