Top Banner
Inviting Windows to the Puppet Party Chris Kittell and Derek Robinson +
19

PuppetConf 2017: Inviting Windows to the Puppet Party- Chris Kittell & Derek Robinson, Walmart Stores

Jan 21, 2018

Download

Technology

Puppet
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: PuppetConf 2017: Inviting Windows to the Puppet Party- Chris Kittell & Derek Robinson, Walmart Stores

Inviting Windows to the Puppet PartyChris Kittell and Derek Robinson

+

Page 2: PuppetConf 2017: Inviting Windows to the Puppet Party- Chris Kittell & Derek Robinson, Walmart Stores

Any reference in this presentation to any specific commercial product, process, or service, or the use of any trade, firm or corporation name is for the information purposes only and does not constitute an endorsement or recommendation by Wal-Mart Stores, Inc.

Page 3: PuppetConf 2017: Inviting Windows to the Puppet Party- Chris Kittell & Derek Robinson, Walmart Stores
Page 4: PuppetConf 2017: Inviting Windows to the Puppet Party- Chris Kittell & Derek Robinson, Walmart Stores

Challenges

40,000 Windows servers

Outdated toolchain and processes

No version control

Point and click culture

Page 5: PuppetConf 2017: Inviting Windows to the Puppet Party- Chris Kittell & Derek Robinson, Walmart Stores

Goals

Reporting

Scalability and speed to implement

Tackling greenfield first

Page 6: PuppetConf 2017: Inviting Windows to the Puppet Party- Chris Kittell & Derek Robinson, Walmart Stores

Walmart DSCConfiguration Management Tool

ConfiguratorAPIs

(no web UI)

Facts(not supported yet)

Parameters(not supported yet)

DSC Resources

Microsoft Community Walmart

DSC Engine

Page 7: PuppetConf 2017: Inviting Windows to the Puppet Party- Chris Kittell & Derek Robinson, Walmart Stores

Worked great!

Page 8: PuppetConf 2017: Inviting Windows to the Puppet Party- Chris Kittell & Derek Robinson, Walmart Stores

… until it didn’t

13 major bugs in first 6 months

Only 4 people knew how it worked

Very limited documentation

Powershell v5 would require rewriting scripts

We had to constantly tweak WMI settings after 1000 nodes

Page 9: PuppetConf 2017: Inviting Windows to the Puppet Party- Chris Kittell & Derek Robinson, Walmart Stores

Then the world changed

Page 10: PuppetConf 2017: Inviting Windows to the Puppet Party- Chris Kittell & Derek Robinson, Walmart Stores

Then the world changed

47,000 Linux servers were already managed by Puppet

Linux teammates were planning the upgrade to Puppet Enterprise

Puppet 3.7 introduced 64-bit support for Windows

PowerShell v5 introduced better 3rd party integration

Puppet Labs DSC module was announced

Page 11: PuppetConf 2017: Inviting Windows to the Puppet Party- Chris Kittell & Derek Robinson, Walmart Stores

Integrating Tools

SCCM

Image management

Software delivery

Patch management

Active Directory

User policy settings

Server-side security

policy settings

Puppet

Native resource types

DSC

Additional plugins and providers

Choosing the best tool for the job

Page 12: PuppetConf 2017: Inviting Windows to the Puppet Party- Chris Kittell & Derek Robinson, Walmart Stores

How Windows got invited to the partyStart small and build on success

• Started with new OS version (no “legacy” to worry about)

• All new builds are now done using Puppet

• > 5,000 servers have been built using Puppet > 7,000

including cloud servers

• > 30,000 managed Windows nodes

Page 13: PuppetConf 2017: Inviting Windows to the Puppet Party- Chris Kittell & Derek Robinson, Walmart Stores

Big wins

Shared learnings Compliance Increased visibility

Speed Scale Partnering for solutions

Page 14: PuppetConf 2017: Inviting Windows to the Puppet Party- Chris Kittell & Derek Robinson, Walmart Stores

GotchasWorkarounds for Windows

Plugin sync issues

Standard DSC resources had

more stuff than we needed

External facts and PowerShell

TBD

We removed

DSC resources we don't use

Setting up test environments

is important

Issue Workaround

Page 15: PuppetConf 2017: Inviting Windows to the Puppet Party- Chris Kittell & Derek Robinson, Walmart Stores

Four pillars of success

Documentation Automation Collaboration Measurement

Page 16: PuppetConf 2017: Inviting Windows to the Puppet Party- Chris Kittell & Derek Robinson, Walmart Stores

What’s next?

Onboarding more servers

Custom DSC resources

PQL

Automating infrastructure apps

Page 17: PuppetConf 2017: Inviting Windows to the Puppet Party- Chris Kittell & Derek Robinson, Walmart Stores

Key takeaways

Buy-in from

other teams

Visibility and

tracking

Greater

agility

Page 18: PuppetConf 2017: Inviting Windows to the Puppet Party- Chris Kittell & Derek Robinson, Walmart Stores

Questions?

Page 19: PuppetConf 2017: Inviting Windows to the Puppet Party- Chris Kittell & Derek Robinson, Walmart Stores

Thank you!