20
Puppet on Windows: Now You’re Getting Chocolatey! Rob Reynolds Software Engineer | Puppet Labs [email protected] @ferventcoder Saturday, August 24, 13

Puppet on Windows: Now You're Getting Chocolatey!

Embed Size (px)

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.

Citation preview

Page 1: Puppet on Windows: Now You're Getting Chocolatey!

Puppet on Windows: Now You’re Getting Chocolatey!Rob ReynoldsSoftware Engineer | Puppet [email protected]@ferventcoder

Saturday, August 24, 13

Page 2: Puppet on Windows: Now You're Getting Chocolatey!

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

Page 3: Puppet on Windows: Now You're Getting Chocolatey!

puppetconf.com #puppetconf

Why are you here?

Saturday, August 24, 13

Page 4: Puppet on Windows: Now You're Getting Chocolatey!

puppetconf.com #puppetconf

Is it...

Saturday, August 24, 13

Page 5: Puppet on Windows: Now You're Getting Chocolatey!

puppetconf.com #puppetconf

Is it...

Saturday, August 24, 13

Page 6: Puppet on Windows: Now You're Getting Chocolatey!

puppetconf.com #puppetconf

Or is it...

?

Saturday, August 24, 13

Page 7: Puppet on Windows: Now You're Getting Chocolatey!

puppetconf.com #puppetconf

Welcome!

Saturday, August 24, 13

Page 8: Puppet on Windows: Now You're Getting Chocolatey!

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

Page 9: Puppet on Windows: Now You're Getting Chocolatey!

puppetconf.com #puppetconf

Where does it fit into Puppet?

•Chocolatey (choco) has a package provider

•Module on forge (rismoney/chocolatey)

Saturday, August 24, 13

Page 10: Puppet on Windows: Now You're Getting Chocolatey!

puppetconf.com #puppetconf

Use the built in windows package provider?

Saturday, August 24, 13

Page 11: Puppet on Windows: Now You're Getting Chocolatey!

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

Page 12: Puppet on Windows: Now You're Getting Chocolatey!

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

Page 13: Puppet on Windows: Now You're Getting Chocolatey!

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

Page 14: Puppet on Windows: Now You're Getting Chocolatey!

puppetconf.com #puppetconf

Anatomy of a provider

Saturday, August 24, 13

Page 15: Puppet on Windows: Now You're Getting Chocolatey!

puppetconf.com #puppetconf

Build Packages?

Saturday, August 24, 13

Page 16: Puppet on Windows: Now You're Getting Chocolatey!

puppetconf.com #puppetconf

Text

Saturday, August 24, 13

Page 17: Puppet on Windows: Now You're Getting Chocolatey!

puppetconf.com #puppetconf

ChocolateyInstall.ps1

Saturday, August 24, 13

Page 18: Puppet on Windows: Now You're Getting Chocolatey!

puppetconf.com #puppetconf

DEMO

Saturday, August 24, 13

Page 19: Puppet on Windows: Now You're Getting Chocolatey!

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

Page 20: Puppet on Windows: Now You're Getting Chocolatey!

puppetconf.com #puppetconf

[email protected]@ferventcoder

Saturday, August 24, 13