summaryrefslogtreecommitdiffstats
path: root/examples/Bundler/sgenshi-dirvish.genshi
blob: b4ea08f2c97648806b7169f1bc77698ea1ef2425 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!--
vim: ft=xml
-->
<Bundle name='sgenshi-dirvish' 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>