Puppet on Windows: Now You're Getting Chocolatey!

Post on 24-May-2015

8.818 views 0 download

Tags:

description

Doing package management on Windows can be easy when you add a little chocolatey to the mix. Chocolatey is quickly becoming the de facto standard for dealing with packages and dependencies on Windows. Come learn more about Puppet, Windows, Chocolatey and where all of this is going in the coming months. Rob Reynolds Developer, Puppet Labs Rob is a developer who has a passion for developing low maintenance solutions. In his day job he works at Puppet Labs getting his automation on. He invented yet another apt-get framework for Windows, named chocolatey, hoping this time it would stick. Rob is very active in OSS and manages several OSS projects. Some of those projects include RoundhousE (part of the chuck norris framework) and Chocolatey (kind of like apt-get but for Windows). He tends to speak his mind about Behavior Driven Design and the importance of it, and his polyglot is all entranced in Ruby right now.

Transcript of Puppet on Windows: Now You're Getting Chocolatey!

Puppet on Windows: Now You’re Getting Chocolatey!Rob ReynoldsSoftware Engineer | Puppet Labsrob@puppetlabs.com@ferventcoder

Saturday, August 24, 13

puppetconf.com #puppetconf

Who am I?

•Developer at Puppet Labs / started July 1

•Creator of Chocolatey

•DevOps interest for 2+ yrs or 7+ yrs

•Long time .NET Dev

•Learning Ruby

•Also still learning Puppet

Saturday, August 24, 13

puppetconf.com #puppetconf

Why are you here?

Saturday, August 24, 13

puppetconf.com #puppetconf

Is it...

Saturday, August 24, 13

puppetconf.com #puppetconf

Is it...

Saturday, August 24, 13

puppetconf.com #puppetconf

Or is it...

?

Saturday, August 24, 13

puppetconf.com #puppetconf

Welcome!

Saturday, August 24, 13

puppetconf.com #puppetconf

What is Chocolatey?

•Package manager for Windows

•Kind of like yum or apt-get, but for Windows

•Package provider for Puppet on Windows

Saturday, August 24, 13

puppetconf.com #puppetconf

Where does it fit into Puppet?

•Chocolatey (choco) has a package provider

•Module on forge (rismoney/chocolatey)

Saturday, August 24, 13

puppetconf.com #puppetconf

Use the built in windows package provider?

Saturday, August 24, 13

puppetconf.com #puppetconf

Does this replace built in Windows pkg provider?

•Official answer at this time: no

•Unofficial answer at this time: no

•Built in provider requires no addtl setup

•Choco requires PowerShell 2+ and .NET Framework 4.0

Saturday, August 24, 13

puppetconf.com #puppetconf

Why would I use Chocolatey provider then?

•Versionable / Upgradeable

•Community / Packaging Provider Focus

•Packaging is simple

•Most Windows come w/PowerShell 2, so all you need is .NET 4.0

Saturday, August 24, 13

puppetconf.com #puppetconf

Future of Chocolatey on Puppet

•This is still an open discussion

•Chocolatey will continually evolve

•Security / trust focus

Saturday, August 24, 13

puppetconf.com #puppetconf

Anatomy of a provider

Saturday, August 24, 13

puppetconf.com #puppetconf

Build Packages?

Saturday, August 24, 13

puppetconf.com #puppetconf

Text

Saturday, August 24, 13

puppetconf.com #puppetconf

ChocolateyInstall.ps1

Saturday, August 24, 13

puppetconf.com #puppetconf

DEMO

Saturday, August 24, 13

puppetconf.com #puppetconf

Vagrant FTW?!•Installed .Net 4.0 / Chocolatey•Installed Puppet & Modules•Used chocolatey provider to install git, posh-git and putty•Updated git to latest version

Saturday, August 24, 13

puppetconf.com #puppetconf

Questions?rob@puppetlabs.com@ferventcoder

Saturday, August 24, 13