entering the chef ecosystem from a windows background - chefconf 2015

21
Entering the Chef Ecosystem from the Windows world MATT WROCK APRIL 1, 2015

Upload: chef

Post on 11-Aug-2015

21 views

Category:

Technology


0 download

TRANSCRIPT

Entering the Chef Ecosystem from

the Windows world

MATT WROCK

APRIL 1, 2015

About Me (matt wrock) Predominately Microsoft dev background

Java developer on windows and solaris/linux before the .net era

10 years in online ad serving platforms

Worked for Microsoft 4 ½ years

Focus on deployment automation and environment setup over past 4 years

Commiter on Chocolatey and Pester

Author of Boxstarter

Software Engineer in Automation and Tools at CenturyLink Cloud

Contributed to Vagrant, Test-Kitchen, and more

Blog: HurryUpAndWait.io

Twitter: @mwrockx

Civilization at last!

So you want to learn Chef?

I have to learn Ruby? But I’ve never run linux. Am I just starting over? ArtiWHATory??? Why doesn’t anything work? I’m gonna send a Pull Request to your HEAD!!

Shiny packaged monoliths

“Devops in a box”

Dragity Dropity

Limited flexibility

Difficult to source control

Open Source – a DIY approach

Specialized Small Composable Programmable!!

Do I have to learn Ruby?

•For basic chef usage, you just need to know the recipe DSL

•Not everyone needs to know ruby well

•Want to create provisioning drivers, kitchen or vagrant plugins, custom knife plugins or wrap central domain model in a gem? …YES. You need to learn ruby.

•Somebody (maybe you) needs to know ruby more

Careful not to shoehorn Ruby constructs into familiar .net fundamentals

Example:Ruby gems is like nuget. Ruby gems is NOT the same as nuget

Its fun to judge…

But not very productive

Learning tips Full immersion Read source code Contribute to open source even just a few lines at a time

Sit with a rubyist

Making things work

Don’t bother with ruby versions and gem conflicts…

Be kind to yourselfUse the chefdk

Avoid windows updates in chef runs even during initial provisioning

Bake them into base images

Embrace DSC

Package management is a thing

Chocolatey… Learn it. Love it. Live it.

Is your remoting configured correctly?

Understand the limits of remoting

When to use Scheduled Tasks

•Windows Updates•2nd Hop auth

Test…Test…Test Check out the latest Test-Kitchen on windows work

There is a Pester busser