Chapter 6. Using Puppet for Windows Security

Let's do a quick recap of what we have learned until now. We learned how to write modules, facts, templates, and functions. We learned how to deal with files and the firewall, execute commands, and many such details. Now, we will bring them all together and use them for the following security practices:

  • Locking the Startup folder for each user
  • Locking the hosts file
  • Stopping unnecessary services
  • Making sure that the necessary services are running
  • Denying incoming traffic and allowing only the necessary ports
  • Making the local administrator password unique

For each topic, we will also address why we need these settings. The best thing with Puppet is that when you make a security setting, it cannot be undone. ...

Get Learning Puppet for Windows Server now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.