bundles: code style improvements
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
2af911c29f
commit
f52df58517
24 changed files with 80 additions and 95 deletions
|
@ -38,7 +38,7 @@ for bundle, rules in node.metadata.get('iptables', {}).get('bundle_rules', {}).i
|
|||
}
|
||||
|
||||
if 'custom_rules' in node.metadata.get('iptables', {}):
|
||||
files[f'/etc/iptables-rules.d/40-custom'] = {
|
||||
files['/etc/iptables-rules.d/40-custom'] = {
|
||||
'content': '\n'.join(node.metadata['iptables']['custom_rules']) + '\n',
|
||||
'triggers': {
|
||||
'action:iptables_enforce',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue