summaryrefslogtreecommitdiffstats
path: root/examples/Bundler/sgenshi-dirvish.genshi
blob: 2eb8acd75da657cc5db54d5d47431a1eb0156167 (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'].data.find('users')">
<!-- Generate configs for all users in dirvish.xml -->
<BoundConfigFile
	name='/backup/homes/${user.tag}/dirvish/default.conf'
	owner='root'
	group='root'
	perms='0644'>client: nfs-host
tree: /export/homes/${user.text}
exclude:
	*~
	.nfs*
</BoundConfigFile>
</py:for>

<Package name='dirvish'/>
<ConfigFile name='/etc/cron.d/dirvish'/>
<ConfigFile name='/etc/dirvish/dirvish-cronjob'/>
<ConfigFile name='/etc/dirvish/master.conf'/>
</Bundle>