Commit 1359f001 authored by Nicolas Wavrant's avatar Nicolas Wavrant

resilient: publishes rdiff-backup transfer stats on a RSS feed

parent 44f3e021
...@@ -9,6 +9,7 @@ parts = ...@@ -9,6 +9,7 @@ parts =
sshkeys-authority sshkeys-authority
sshkeys-openssh sshkeys-openssh
backup-transfer-integrity-promise backup-transfer-integrity-promise
resilient-genstatrss-wrapper
## Monitor for pbs ## Monitor for pbs
monitor-base monitor-base
...@@ -251,6 +252,11 @@ template = inline: ...@@ -251,6 +252,11 @@ template = inline:
rendered = $${basedirectory:promises}/backup-transfer-integrity-promise rendered = $${basedirectory:promises}/backup-transfer-integrity-promise
mode = 700 mode = 700
[resilient-genstatrss-wrapper]
recipe = slapos.cookbook:wrapper
# XXX - hard-coded Urls
command-line = ${buildout:directory}/bin/rdiffbackup.genstatrss --output '$${monitor-directory:public}/resilient-feed' --rdiff_backup_data_folder '$${pbs:rdiff-backup-data-folder}' --feed_url '$${monitor-conf-parameters:base-url}/public/resilient-feed'
wrapper-path = $${directory:bin}/resilient-genstatrss.py
#---------------- #----------------
#-- #--
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment