add bundle:oidentd
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-03-21 17:40:58 +01:00
parent 6a6198c9b9
commit 28dd9694af
Signed by: kunsi
GPG key ID: 12E3D2136B818350
4 changed files with 77 additions and 1 deletions

View file

@ -0,0 +1,22 @@
from bundlewrap.metadata import atomic
defaults = {
'apt': {
'packages': {
'oidentd': {},
},
},
}
@metadata_reactor.provides(
'iptables/port_rules/113',
)
def iptables(metadata):
return {
'iptables': {
'port_rules': {
'113': atomic(metadata.get('oidentd/restrict-to', set('*'))),
},
},
}