bundles/icinga2: simplify template
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
This commit is contained in:
parent
75e1ab0db4
commit
7e58e9c667
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ object Service "${service}" {
|
|||
% endif
|
||||
% endfor
|
||||
vars.bundle = "${bundle}"
|
||||
vars.notification.sms = ${str((config.get('vars.notification.sms', False) and rnode.metadata.get('icinga_options/vars.notification.sms', True))).lower()}
|
||||
vars.notification.sms = ${str(config.get('vars.notification.sms', False)).lower()}
|
||||
vars.notification.mail = ${str(config.get('vars.notification.mail', False)).lower()}
|
||||
}
|
||||
% endfor
|
||||
|
|
Loading…
Reference in a new issue