-
-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UFW - Backed Up Rules #178
Comments
Hi there -- this looks like these are getting created by the Chef file resource. I would have expected these get written to |
It looks like these are actually created by running
|
Ah, okay. Seeing the filenames, that makes more sense! We can get a fix in for this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cookbook version
2.6.2 (any version though really)
Chef-client version
12.19.36
Platform Details
Ubuntu 16.04
Scenario:
Everything works, it simply creates a lot of backed up rules. In my environment, I create individual firewall rules between servers in a private network. As servers come and go (dynamic cloud environment), eventually you are left with a massive number of backed up rulesets.
Steps to Reproduce:
Change your rules a few times and watch these build up in
/etc/ufw/
Suggested Solution:
In my wrapper cookbook, I put something in like the below -- it is the best thing I could come up with. Maybe its better left in a wrapper, but I figured I'd at least put it out there as many may not realize it is happening.
The text was updated successfully, but these errors were encountered: