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, 2019 in Puppet by Karan
• 19,610 points
940 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, 2019 by Sirajul
• 59,230 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, 2019 in Puppet by Vaibhav
803 views
0 votes
1 answer

Puppet: Managing confidential information in Puppet

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

answered Aug 30, 2019 in Puppet by Sirajul
• 59,230 points
407 views
+5 votes
2 answers

How To Deploy Windows Server Using Puppet?

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

answered Mar 27, 2018 in Puppet by shubham
• 7,340 points
1,557 views
+15 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,508 views
+2 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, 2019 in Puppet by Sirajul
• 59,230 points
2,124 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, 2019 in Puppet by Sirajul
• 59,230 points
664 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP