Book Image

Learning Puppet for Windows Server

By : Fuat Ulugay
Book Image

Learning Puppet for Windows Server

By: Fuat Ulugay

Overview of this book

Table of Contents (15 chapters)
Learning Puppet for Windows Server
About the Author
About the Reviewers


First of all, there is no supported or approved module for the Windows Firewall management. We will use puppet/windows_firewall as an example. The link to the module details is When we use the unsupported modules, the problem is that it may not work as expected. However, we can check the code details and create our own modules accordingly.

Here are some details of this module:

  • When you try to enable the firewall, it does not enable all the profiles. While testing Windows 7, it did not enable the domain profile.

  • When the rule with the same name already exists, it will do nothing. So when you want to change an existing rule, this will not work.

  • When ensure => absent is used, it gives error and does not work correctly.

  • So this module is good only to add new rules.


This example module is given here to learn that when we use unsupported ones, they need to be tested carefully. Otherwise, we may have many problems. We may still use...