Franziska Kunsmann
28dd9694af
All checks were successful
bundlewrap/pipeline/head This commit looks good
22 lines
395 B
Python
22 lines
395 B
Python
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('*'))),
|
|
},
|
|
},
|
|
}
|