Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kwabena Antwi-Boasiako
slapos
Commits
6e3852de
Commit
6e3852de
authored
Oct 03, 2014
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pbs: preliminary support for transaction-id
parent
f5086bc4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
slapos/recipe/notifier.py
slapos/recipe/notifier.py
+1
-0
stack/resilient/buildout.cfg
stack/resilient/buildout.cfg
+1
-1
stack/resilient/pbsready-export.cfg.in
stack/resilient/pbsready-export.cfg.in
+1
-1
No files found.
slapos/recipe/notifier.py
View file @
6e3852de
...
@@ -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).'
,
...
...
stack/resilient/buildout.cfg
View file @
6e3852de
...
@@ -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]
...
...
stack/resilient/pbsready-export.cfg.in
View file @
6e3852de
...
@@ -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).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment