summaryrefslogtreecommitdiffstats
path: root/examples/Bundler/dirvish.xml
blob: 47bf8cf549e62b5d6dd5a5d5eae90ae02072ac8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<Bundle xmlns:py="http://genshi.edgewall.org/">
  <py:for each="user in metadata.Properties['dirvish.xml'].xdata.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>