1 of 26

Puppet and Windows

Do’s and Don’ts

2 of 26

Who is that guy?

and why should I listen to him.

3 of 26

Quick overview

  • Why Windows
  • Do’s
  • Don’ts
  • Recap
  • Questions

4 of 26

Why Windows?

5 of 26

We need this,

and you seem smart

6 of 26

Do’s

7 of 26

Upgrade Puppet

Ohhh, shiny!

8 of 26

Clean Code

Keep 'em Separated

9 of 26

Reboots

10 of 26

Powershell

An elegant weapon for a more civilized age.

11 of 26

Use the registry

12 of 26

Invest time in Chocolatey

Manual Install, ain’t nobody got time for that

13 of 26

Add checks

Failure is an option

14 of 26

Open Source

Code like nobody’s peer reviewing.

15 of 26

Don’ts

16 of 26

Get a domain controller

There can be only one

Do not

17 of 26

Try to solve it in Hiera

Unless you enjoy puzzles

Do not

18 of 26

Mix slashes

Do not

19 of 26

Think file based

You are going to have a bad time!

Do not

20 of 26

Recap

21 of 26

Do’s

  • Upgrade puppet
  • Clean code
  • Reboots
  • Powershell
  • Registry
  • Chocolaty
  • Add Checks
  • Open Source

22 of 26

Don’ts

  • Do not get a domain controller
  • Do not try to solve it in hiera
  • Do not mix slashes
  • Do not think file based

23 of 26

Questions?

24 of 26

Important Links

Windows Package Management

https://chocolatey.org/

Powershell Objects

http://s.basg.nl/1vdVyxx

25 of 26

List of Modules

puppetlabs/mssql

rismoney/chocolatey

badgerious/windows_env

martezr/rdp

rmsphd/windows_firewall

adenning/winntp

puppetlabs/acl

puppetlabs/registry

puppetlabs/reboot

joshcooper/powershell

puppetlabs/dism

puppetlabs/inifile

26 of 26

Final Notes

Presentation is online�http://s.basg.nl/puppetwindows

You can find me on Google+�http://google.com/+basgrolleman