<!-- vim: ft=xml --> <Bundle name='sgenshi-dirvish' xmlns:py="http://genshi.edgewall.org/"> <py:for each="user in metadata.Properties['dirvish.xml'].data.find('users')"> <!-- Generate configs for all users in dirvish.xml --> <BoundPath name='/backup/homes/${user.tag}/dirvish/default.conf' owner='root' group='root' perms='0644'>client: nfs-host tree: /export/homes/${user.text} exclude: *~ .nfs* </BoundPath> </py:for> <Package name='dirvish'/> <Path name='/etc/cron.d/dirvish'/> <Path name='/etc/dirvish/dirvish-cronjob'/> <Path name='/etc/dirvish/master.conf'/> </Bundle>