8 lines
185 B
Text
8 lines
185 B
Text
|
% for user, password in sorted(node.metadata.get('icinga2', {}).get('api_users', {}).items()):
|
||
|
object ApiUser "${user}" {
|
||
|
password = "${password}"
|
||
|
permissions = [ "*" ]
|
||
|
}
|
||
|
|
||
|
% endfor
|