Commit e34c7254 authored by Rafael Monnerat's avatar Rafael Monnerat

stack/resilience: use rendered instead output

  This fix the real location of the log after use logrotate stack.
parent a06c13fc
...@@ -23,7 +23,7 @@ md5sum = a8f77b42782ec5e1fb49b5ae9891c757 ...@@ -23,7 +23,7 @@ md5sum = a8f77b42782ec5e1fb49b5ae9891c757
[pbsready-export] [pbsready-export]
filename = pbsready-export.cfg.in filename = pbsready-export.cfg.in
md5sum = bb463da1461d02d575717f1d1572bf97 md5sum = c593a85246e9075deb1fa9b84d83ebe0
[template-pull-backup] [template-pull-backup]
filename = instance-pull-backup.cfg.in filename = instance-pull-backup.cfg.in
......
...@@ -44,7 +44,7 @@ pidfile = ${resilient-directory:pid}/${:name}.pid ...@@ -44,7 +44,7 @@ pidfile = ${resilient-directory:pid}/${:name}.pid
max-run = 3 max-run = 3
[logrotate-entry-notifier] [logrotate-entry-notifier]
output = ${rootdirectory:etc}/logrotate_notifier.conf rendered = ${rootdirectory:etc}/logrotate_notifier.conf
[notifier-exporter-promise] [notifier-exporter-promise]
recipe = slapos.recipe.template:jinja2 recipe = slapos.recipe.template:jinja2
...@@ -70,7 +70,7 @@ frequency = {{ resiliency_backup_periodicity }} ...@@ -70,7 +70,7 @@ frequency = {{ resiliency_backup_periodicity }}
{% else %} {% else %}
time = ${publish-early:resiliency-backup-periodicity} time = ${publish-early:resiliency-backup-periodicity}
{% endif %} {% endif %}
command = {{ logrotate_executable_location }} -s ${basedirectory:run}/logrotate.status ${logrotate-entry-notifier:output}; ${notifier-exporter:wrapper} --transaction-id `date +%s` command = {{ logrotate_executable_location }} -s ${basedirectory:run}/logrotate.status ${logrotate-entry-notifier:rendered}; ${notifier-exporter:wrapper} --transaction-id `date +%s`
[gen-resiliency-backup-periodicity] [gen-resiliency-backup-periodicity]
recipe = slapos.cookbook:random.time recipe = slapos.cookbook:random.time
......
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