9 lines
337 B
Text
9 lines
337 B
Text
% for path, shares in sorted(node.metadata.get('nfs-server/shares', {}).items()):
|
|
% for share_target, share_options in sorted(shares.items()):
|
|
% for ip_list in repo.libs.tools.resolve_identifier(repo, share_target).values():
|
|
% for ip in sorted(ip_list):
|
|
${path} ${ip}(${share_options})
|
|
% endfor
|
|
% endfor
|
|
% endfor
|
|
% endfor
|