Commit 6e3852de authored by Marco Mariani's avatar Marco Mariani

pbs: preliminary support for transaction-id

parent f5086bc4
...@@ -86,6 +86,7 @@ class Notify(GenericBaseRecipe): ...@@ -86,6 +86,7 @@ class Notify(GenericBaseRecipe):
command=notifier_binary, command=notifier_binary,
parameters=parameters, parameters=parameters,
pidfile=pidfile, pidfile=pidfile,
parameters_extra=True,
comments=[ comments=[
'', '',
'Call an executable and send notification(s).', 'Call an executable and send notification(s).',
......
...@@ -56,7 +56,7 @@ mode = 0644 ...@@ -56,7 +56,7 @@ mode = 0644
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/pbsready-export.cfg.in url = ${:_profile_base_location_}/pbsready-export.cfg.in
output = ${buildout:directory}/pbsready-export.cfg output = ${buildout:directory}/pbsready-export.cfg
md5sum = 135638b8c513c7723efb51e3d9182ae9 md5sum = 879fff114d1dbf1f58774ccbce9bdd22
mode = 0644 mode = 0644
[template-pull-backup] [template-pull-backup]
......
...@@ -54,7 +54,7 @@ pidfile = $${resilient-directory:pid}/$${:name}.pid ...@@ -54,7 +54,7 @@ pidfile = $${resilient-directory:pid}/$${:name}.pid
recipe = slapos.cookbook:cron.d recipe = slapos.cookbook:cron.d
name = backup name = backup
frequency = $${slap-parameter:resiliency-backup-periodicity} frequency = $${slap-parameter:resiliency-backup-periodicity}
command = $${notifier-exporter:wrapper} command = $${notifier-exporter:wrapper} --transaction-id `date +%s`
[slap-parameter] [slap-parameter]
# In cron.d format (i.e things like */15 * * * * are accepted). # In cron.d format (i.e things like */15 * * * * are accepted).
......
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