-
Notifications
You must be signed in to change notification settings - Fork 20
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
[RFC] Firewall rules documentation #90
Conversation
By default ``debops.ferm`` configures a number of rules as soon as a | ||
host is part of the ``[debops_all_hosts]`` Ansible host group. In case | ||
a firewall is not required or preferred this behaviour can be disabled | ||
by setting ``ferm__enabled: no`` in the inventory. The rules created |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be ferm_enabled: False
. The role checks the value as a boolean and no
might be converted to True
.
First of all, thanks for the documentation! This looks excellent. To test the documentation locally in case there are errors, I usually use a disposable LXC container and install Problem with cross-referencing documentation in other roles is that the documentation for each role is tested separately, and the entire docs are tested separately. Without documentation of other roles present, the cross-reference links would be broken and |
Linking templates directly in RST documentation would most likely require some kind of conversion, as with |
Thanks a lot for your quick response. I'll try to update the documentation according to your feedback later tonight. |
Seems like a good idea. I followed your example and tried to build the current state of the PR. However, at the places where I reference a variable from the
Then the cross-link is not created. Any hints on this? |
I think I made some progress with the formatting of the rules documentation tonight. Each rule template now has a separate subsection. I was also able to fix the variable references I was struggling with yesterday. Now I'll try to fix the last remaining key descriptions and review some more, where I feel it's a bit roughly documented. Anyone who want to do a review, please feel free. |
The past few days I was reading through the firewall rule templates and tried to write down a simple documentation about what I found. Maybe this can act as a starting ground for a better ferm rule template documentation (as requested in #57).
There are still some keys where I didn't figure out yet how exactly they are used. There also might be some that I misread...
If you want, I can make this ready to merge, but I need some input:
?
defaults.html#envvar-...
is not really the correct way to do.libvirtd__ferm__dependent_rules
for example.envvar
? Would be nice if they could be linked e.g. from the default variable documentation or future guides.