Puppet powershell

Preview:

Citation preview

Windows: Having It’s Ass Kicked by Puppet and PowerShell since 2012

Paul Stack http://www.paulstack.co.uk http://twitter.com/stack72 mail: buildstuff@paulstack.co.uk

About Me

Develop software for OpenTable

DevOps Extremist

Conference Junkie

Agenda

Classic infrastructure management

Snowflake / Phoenix Servers / Immutable Infrastructure

Infrastructure as Code

PowerShell as a way to manage Windows

PowerShell + Puppet = Kicking Windows’ Ass

Classic Infrastructure Management

“The Run book”

People are generally rubbish at performing manual repetitive tasks

SnowFlake Server

Image courtesy of Liz West and under Creative Commons License

Martin Fowler: http://martinfowler.com/bliki/SnowflakeServer.html

Machines are much more reliable at performing repetitive tasks

Image courtesy of FoodBev Photos and under Creative Commons License

Can’t we automate our manual run books?

Infrastructure As Code

Phoenix Servers

Martin Fowler: http://martinfowler.com/bliki/PhoenixServer.html

Simian Army

Immutable infrastructure

Chad Fowler: http://chadfowler.com/blog/2013/06/23/immutable-deployments/

Code Is Better

Windows Infrastructure Management…..

Managing Windows Server 2008 with PowerShell

Puppet

Puppet on Windows

Types Availablefile

user

group

scheduled_task

package

service

exec

host

Demo

Our modules evolve everyday….

Get a good development environment

Puppet Forge

Puppet integration with Windows will get better and better

The Foreman

Summary

Code is much better for managing servers than people

PowerShell is a tool to use when working with Windows

Puppet compliments what PowerShell does perfectly in a DSL format

Windows Server management is no longer a pain in the ass.

Further Information

http://forge.puppetlabs.com/

http://blogs.msdn.com/b/powershell/

http://github.com/opentable

Recommended