IT would be a generic type to deploy a file in /etc/fail2ban/jail.d/myjail.conf (on debian at least). It doesn't have to support every configuration parameter, but should allow for custom…
@fnux, sorry for the n00b question: how do I update a PR from my fork? I've pushed some changes, but I don't see them here.
There's currently an issue with this gitea instance. I asked…
Why is the service name used to restart the service different as the one used to start it...?
I've rebased... https://code.ungleich.ch/ungleich-public/cdist-contrib/commits/branch/opendkim-debian ... but the Pull Requests wasn't updated. Did gitea missed it somehow or am I too tired?
The type could generate configuration for the services specified in --jail-service
and remove anything that isn't provided. You could make --jail-service
an optional_multiple parameter.
Also…
We usually install and enable (i.e. start_on_boot) the service within the type. Please run both __package
and __start_on_boot
in your type.
OK. I don't have anything set up for this yet, but if there is nothing for this yet, I may start on something that can be run locally and in CI so that you could also use it for helping check…
Related: do you think a more generic type using ip and other utils to configure interfaces is useful? There are no network interface types that I can see, and I wonder how others configure…
Sure - I'll take a look (but without extensive testing) and merge them if I don't see anything obvious.