summaryrefslogtreecommitdiffstats
path: root/examples/Bundler
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Bundler')
-rw-r--r--examples/Bundler/dirvish.xml20
-rw-r--r--examples/Bundler/sgenshi-dirvish.genshi23
2 files changed, 20 insertions, 23 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>
diff --git a/examples/Bundler/sgenshi-dirvish.genshi b/examples/Bundler/sgenshi-dirvish.genshi
deleted file mode 100644
index b4ea08f2c..000000000
--- a/examples/Bundler/sgenshi-dirvish.genshi
+++ /dev/null
@@ -1,23 +0,0 @@
-<!--
-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>