bundlewrap/bundles/nfs-server/files/exports
Franzi faf27a3940
All checks were successful
bundlewrap/pipeline/head This commit looks good
bundles/nfs-server: support using node names for shares
2021-06-03 07:45:56 +02:00

10 lines
332 B
Plaintext

% for path, shares in sorted(node.metadata['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