Slide 1

Slide 1 text

Chef, Microsoft and Open Source - State of the Nation [email protected]

Slide 2

Slide 2 text

About Stuart Preston @stuartpreston - Awesome Community Chef 2016 - Microsoft Most Valuable Professional (MVP) - Open Source Contributor/Maintainer - Author “Using Chef with Microsoft Azure” (2016) - Artist formerly known as - Based in London, UK Joined Chef Product Team January 2017

Slide 3

Slide 3 text

“Oh, so you’re the Windows guy?”

Slide 4

Slide 4 text

Microsoft and Open Source

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

“Special mentions”

Slide 9

Slide 9 text

Windows Services for Linux (aka Bash on Ubuntu on Windows) • Windows feature that allows user mode Linux calls to execute on top of a Windows kernel. • Enabled as a Windows optional feature with a download of Ubuntu when you first execute “bash.exe” (avoid getting on a plane)

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

Docker on Windows

Slide 12

Slide 12 text

Visual Studio Code and extension ecosystem

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

Recent Chef and Windows improvements TL;DR - Test Kitchen supports reboots! https://discourse.chef.io/t/test-kitchen-1-10-0-released/8721 provisioner: name: chef_zero require_chef_omnibus: 12.11 # need the RFC 062 exit codes retry_on_exit_code: - 35 # 35 is the exit code signaling that the node is rebooting max_retries: 1 client_rb: exit_status: :enabled # Opt-in to the standardized exit codes client_fork: false # Forked instances don't return the real exit code

Slide 15

Slide 15 text

Recent Chef and Windows improvements TL;DR - Chef Client for Nano Server .appx format installers (and WinRM improvements) http://www.hurryupandwait.io/blog/creating-a-docker-container-host-on-windows-nan o-server-with-chef - name: windowsnano driver_config: image_urn: MicrosoftWindowsServer:WindowsServer:2016-Nano-Server:latest transport: name: winrm provisioner: install_msi_url: https://s3-us-west-2.amazonaws.com/nano-chef-client/chef-12.14.60.appx

Slide 16

Slide 16 text

Recent Chef and Windows improvements TL;DR - knife rehash - speed up slow knife loading time on Windows especially... http://grdnr.io/slow-knife-speed-up-with-knife-rehash/ PS C:\Users\spreston> knife rehash Knife subcommands are cached in C:/Users/spreston/.chef/plugin_manifest.json. Delete this file to disable the caching. - Windows installer includes Scheduled Task creation: https://docs.chef.io/windows.html msiexec /qn /i C:\inst\chef-client-12.4.3-1.windows.msi ADDLOCAL="ChefClientFeature,ChefSchTaskFeature,ChefPSModuleFeature"

Slide 17

Slide 17 text

Recent Chef and Azure improvements TL;DR - Azure Resource Manager driver moved into the Test Kitchen organization https://github.com/test-kitchen/kitchen-azurerm Contributors are always welcome!

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

“Chef and the Microsoft ecosystem” “Chef on Windows”

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

CfgMgmtCamp Talks Tuesday ● Main Track 14:00 - Operating Systems are Assholes ● Future Tooling - 14:40 - Now That I Have Choreography, What Can I Do With It? ● Chef Room- 14:00 - Shared Services is Not a Field of Dreams ● Chef Room - 14:40 - CI/CD Workflows at Enterprise Sports Scale ● Chef Room - 15:40 - How to get the most of Foreman and Chef ● Main Track 16:20 - Food Fight Show

Slide 22

Slide 22 text

Thanks! Email [email protected] Tweet @stuartpreston Give us feedback! https://feedback.chef.io Chef related talks this week: http://cfgmgmtcamp.eu/schedule/chef.html

Slide 23

Slide 23 text

No content