Puppet: managing firewall rules

0 votes
How do I manage the firewall rules using puppet? Is there any pre-existing/built-in module that I could use for this purpose?
Aug 2 in Puppet by Karan
• 1,900 points
27 views

1 answer to this question.

0 votes

You can easily manage the firewall rules using puppet as puppet has puppetlabs-firewall module which is a pre-existing module that a user could install from puppet forge and customise it as per his need.

Since,firewall rules are applied with a top-to-bottom approach,the best way to manage firewall rules with Puppet is to divide them into pre and post groups to ensure Puppet checks them in the correct order.

Managing the firewall rules using puppet includes the following steps:

  • Install the puppetlabs-firewall module.

  • Write a module to define the firewall rules for your Puppet managed infrastructure.

  • Add the firewall module to the main manifest.

  • Enforce the desired state using the my_firewall class.

For a step by step procedure for the same you could refer to: https://puppet.com/docs/puppet/6.7/quick_start_firewall.html

The above link has all that you will need to know in order to manage the firewall rules using puppet.

answered Aug 2 by Sirajul
• 25,420 points

Related Questions In Puppet

0 votes
0 answers

Puppet+Docker: Managing Docker networks

I have a two containers running on ...READ MORE

Aug 14 in Puppet by Vaibhav
23 views
0 votes
1 answer

Puppet: Managing confidential information in Puppet

Using Hiera for external data lookups and ...READ MORE

answered Aug 30 in Puppet by Sirajul
• 25,420 points
11 views
+5 votes
2 answers

How To Deploy Windows Server Using Puppet?

Deploying windows server through Puppet is similar ...READ MORE

answered Mar 26, 2018 in Puppet by shubham
• 6,890 points
280 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
150 views
0 votes
1 answer
0 votes
1 answer

Managing a NTP service using Puppet

You’ve just  finished installing the puppetlabs-ntp module. The next step ...READ MORE

answered Jul 25 in Puppet by Sirajul
• 25,420 points
29 views
0 votes
1 answer

Managing a Domain Name System (DNS) nameserver file with Puppet.

In this case, you could  build a private ...READ MORE

answered Jul 26 in Puppet by Sirajul
• 25,420 points
27 views