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
|
@ -29,7 +29,6 @@ if node.has_bundle('postfixadmin'):
|
|||
'SMTP CONNECT': {
|
||||
'check_command': 'check_smtp',
|
||||
'vars.notification.sms': True,
|
||||
'vars.notification.sms': True,
|
||||
},
|
||||
'SMTP SUBMISSION CONNECT': {
|
||||
'check_command': 'check_smtp',
|
||||
|
@ -52,7 +51,7 @@ else:
|
|||
def fill_icinga_spam_blocklist_check_with_hostname(metadata):
|
||||
checks = {}
|
||||
|
||||
for variant, ips in repo.libs.tools.resolve_identifier(repo, node.name).items():
|
||||
for _, ips in repo.libs.tools.resolve_identifier(repo, node.name).items():
|
||||
for ip in ips:
|
||||
if not ip.is_private:
|
||||
checks[f'SPAM BLOCKLIST {ip}'] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue