]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commitdiff
Change - Avoid puppet failures on windows nodes
authorMichael Watters <michael.watters@dart.biz>
Tue, 28 May 2019 17:30:44 +0000 (13:30 -0400)
committerMichael Watters <michael.watters@dart.biz>
Tue, 12 Nov 2019 15:42:23 +0000 (10:42 -0500)
This module will cause puppet agent runs to fail when it is included
on a windows node.  Updated manifest to do nothing when running on
a windows client.

manifests/init.pp

index 0a087a129de388b38fef77ab406b4f0f514d60fb..15b15bf7d34c9f11b0ad6622d7fe0d64e79e57e3 100644 (file)
@@ -74,7 +74,7 @@ class firewall (
       }
       contain "${title}::linux"
     }
-    'FreeBSD': {
+    'FreeBSD', 'windows': {
     }
     default: {
       fail("${title}: Kernel '${::kernel}' is not currently supported")