diff options
Diffstat (limited to 'examples/Bundler/dirvish.xml')
-rw-r--r-- | examples/Bundler/dirvish.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/Bundler/dirvish.xml b/examples/Bundler/dirvish.xml new file mode 100644 index 000000000..47bf8cf54 --- /dev/null +++ b/examples/Bundler/dirvish.xml @@ -0,0 +1,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> |