Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012
-
Upload
puppet-labs -
Category
Technology
-
view
6.473 -
download
1
description
Transcript of Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012
![Page 1: Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012](https://reader034.fdocuments.us/reader034/viewer/2022042814/554f55acb4c905b9508b5067/html5/thumbnails/1.jpg)
Windows: Having It’s Ass Kicked by Puppet and PowerShell since 2012
Paul Stackhttp://www.paulstack.co.ukhttp://twitter.com/stack72mail: [email protected]
Saturday, August 24, 13
![Page 2: Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012](https://reader034.fdocuments.us/reader034/viewer/2022042814/554f55acb4c905b9508b5067/html5/thumbnails/2.jpg)
About Me
Develop software for OpenTable
Member of the Jetbrains Development Academy
DevOps Extremist
Saturday, August 24, 13
![Page 3: Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012](https://reader034.fdocuments.us/reader034/viewer/2022042814/554f55acb4c905b9508b5067/html5/thumbnails/3.jpg)
PaurShellThis is actually the Northern Irish pronunciation of the Windows task based framework, PowerShell
Saturday, August 24, 13
![Page 4: Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012](https://reader034.fdocuments.us/reader034/viewer/2022042814/554f55acb4c905b9508b5067/html5/thumbnails/4.jpg)
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
![Page 5: Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012](https://reader034.fdocuments.us/reader034/viewer/2022042814/554f55acb4c905b9508b5067/html5/thumbnails/5.jpg)
Classic Infrastructure Management
Saturday, August 24, 13
![Page 6: Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012](https://reader034.fdocuments.us/reader034/viewer/2022042814/554f55acb4c905b9508b5067/html5/thumbnails/6.jpg)
“The Run book”
Saturday, August 24, 13
![Page 7: Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012](https://reader034.fdocuments.us/reader034/viewer/2022042814/554f55acb4c905b9508b5067/html5/thumbnails/7.jpg)
People are generally rubbish at performing manual repetitive tasks
Saturday, August 24, 13
![Page 8: Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012](https://reader034.fdocuments.us/reader034/viewer/2022042814/554f55acb4c905b9508b5067/html5/thumbnails/8.jpg)
SnowFlake Server
Image courtesy of Liz West and under Creative Commons License
Martin Fowler: http://martinfowler.com/bliki/SnowflakeServer.html
Saturday, August 24, 13
![Page 9: Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012](https://reader034.fdocuments.us/reader034/viewer/2022042814/554f55acb4c905b9508b5067/html5/thumbnails/9.jpg)
Machines are much more reliable at performing repetitive tasks
Saturday, August 24, 13
![Page 10: Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012](https://reader034.fdocuments.us/reader034/viewer/2022042814/554f55acb4c905b9508b5067/html5/thumbnails/10.jpg)
Image courtesy of FoodBev Photos and under Creative Commons License
Saturday, August 24, 13
![Page 11: Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012](https://reader034.fdocuments.us/reader034/viewer/2022042814/554f55acb4c905b9508b5067/html5/thumbnails/11.jpg)
Can’t we automate our manual run books?
Saturday, August 24, 13
![Page 12: Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012](https://reader034.fdocuments.us/reader034/viewer/2022042814/554f55acb4c905b9508b5067/html5/thumbnails/12.jpg)
Infrastructure As Code
Saturday, August 24, 13
![Page 13: Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012](https://reader034.fdocuments.us/reader034/viewer/2022042814/554f55acb4c905b9508b5067/html5/thumbnails/13.jpg)
Phoenix Servers
Martin Fowler: http://martinfowler.com/bliki/PhoenixServer.html
Saturday, August 24, 13
![Page 14: Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012](https://reader034.fdocuments.us/reader034/viewer/2022042814/554f55acb4c905b9508b5067/html5/thumbnails/14.jpg)
ChaosMonkey
Chaos Monkey: http://techblog.netflix.com/2012/07/chaos-monkey-released-into-wild.html
Saturday, August 24, 13
![Page 15: Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012](https://reader034.fdocuments.us/reader034/viewer/2022042814/554f55acb4c905b9508b5067/html5/thumbnails/15.jpg)
Immutable infrastructure
Chad Fowler: http://chadfowler.com/blog/2013/06/23/immutable-deployments/
Saturday, August 24, 13
![Page 16: Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012](https://reader034.fdocuments.us/reader034/viewer/2022042814/554f55acb4c905b9508b5067/html5/thumbnails/16.jpg)
Code Is Better
Saturday, August 24, 13
![Page 17: Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012](https://reader034.fdocuments.us/reader034/viewer/2022042814/554f55acb4c905b9508b5067/html5/thumbnails/17.jpg)
What can we do on Windows?
Saturday, August 24, 13
![Page 18: Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012](https://reader034.fdocuments.us/reader034/viewer/2022042814/554f55acb4c905b9508b5067/html5/thumbnails/18.jpg)
Saturday, August 24, 13
![Page 19: Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012](https://reader034.fdocuments.us/reader034/viewer/2022042814/554f55acb4c905b9508b5067/html5/thumbnails/19.jpg)
Managing Windows Server 2008 with PowerShell
Saturday, August 24, 13
![Page 20: Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012](https://reader034.fdocuments.us/reader034/viewer/2022042814/554f55acb4c905b9508b5067/html5/thumbnails/20.jpg)
Puppet on Windows
Saturday, August 24, 13
![Page 21: Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012](https://reader034.fdocuments.us/reader034/viewer/2022042814/554f55acb4c905b9508b5067/html5/thumbnails/21.jpg)
Types Availablefile
user
group
scheduled_task
package
service
exec
hostSaturday, August 24, 13
![Page 22: Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012](https://reader034.fdocuments.us/reader034/viewer/2022042814/554f55acb4c905b9508b5067/html5/thumbnails/22.jpg)
Puppet + PowerShell = Windows Tap Out
Saturday, August 24, 13
![Page 23: Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012](https://reader034.fdocuments.us/reader034/viewer/2022042814/554f55acb4c905b9508b5067/html5/thumbnails/23.jpg)
Puppet Forge
Saturday, August 24, 13
![Page 24: Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012](https://reader034.fdocuments.us/reader034/viewer/2022042814/554f55acb4c905b9508b5067/html5/thumbnails/24.jpg)
Puppet integration with Windows will get better and better
Saturday, August 24, 13
![Page 25: Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012](https://reader034.fdocuments.us/reader034/viewer/2022042814/554f55acb4c905b9508b5067/html5/thumbnails/25.jpg)
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
![Page 26: Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012](https://reader034.fdocuments.us/reader034/viewer/2022042814/554f55acb4c905b9508b5067/html5/thumbnails/26.jpg)
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