Windows: Having It’s Ass
Kicked by Puppet and
PowerShell since 2012
Paul Stack
http://www.paulstack.co.uk
http://twitter.com/stack72
mail: puppetconf@paulstack.co.uk
Saturday, August 24, 13
About Me	
Develop software for OpenTable
Member of the Jetbrains Development Academy
DevOps Extremist
Saturday, August 24, 13
PaurShell
This is actually the Northern Irish pronunciation of the
Windows task based framework, PowerShell
Saturday, August 24, 13
Agenda	
Classic infrastructure management
Snowflake / Phoenix Servers / Immutable Infrastructure
Infrastructure as Code
PowerShell as a way to manage Windows
PowerShell + Puppet = Kicking Windows’ Ass
Saturday, August 24, 13
Classic Infrastructure
Management
Saturday, August 24, 13
“The Run book”
Saturday, August 24, 13
People are generally rubbish
at performing manual
repetitive tasks
Saturday, August 24, 13
SnowFlake Server
Image courtesy of Liz West and under Creative Commons License
Martin Fowler: http://martinfowler.com/bliki/SnowflakeServer.html
Saturday, August 24, 13
Machines are much more
reliable at performing
repetitive tasks
Saturday, August 24, 13
Image courtesy of FoodBev Photos and under Creative Commons License
Saturday, August 24, 13
Can’t we automate our
manual run books?
Saturday, August 24, 13
Infrastructure As Code
Saturday, August 24, 13
Phoenix Servers
Martin Fowler: http://martinfowler.com/bliki/PhoenixServer.html
Saturday, August 24, 13
ChaosMonkey
Chaos Monkey: http://techblog.netflix.com/2012/07/chaos-monkey-released-into-wild.html
Saturday, August 24, 13
Immutable infrastructure
Chad Fowler: http://chadfowler.com/blog/2013/06/23/immutable-deployments/
Saturday, August 24, 13
Code Is Better
Saturday, August 24, 13
What can we do on
Windows?
Saturday, August 24, 13
Saturday, August 24, 13
Managing Windows Server
2008 with PowerShell
Saturday, August 24, 13
Puppet on Windows
Saturday, August 24, 13
Types Available
file
user
group
scheduled_task
package
service
exec
host
Saturday, August 24, 13
Puppet + PowerShell =
Windows Tap Out
Saturday, August 24, 13
Puppet Forge
Saturday, August 24, 13
Puppet integration with
Windows will get better and
better
Saturday, August 24, 13
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.
Saturday, August 24, 13
Further Information	
http://forge.puppetlabs.com/
http://blogs.msdn.com/b/powershell/
http://github.com/opentable/puppet-iis
http://github.com/opentable/puppet-windowsfeature
Saturday, August 24, 13

Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012