Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hardik Juneja
slapos.core
Commits
da854c05
Commit
da854c05
authored
Oct 30, 2012
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reuse slapos_configurator definition.
parent
05644947
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
9 deletions
+6
-9
master/bt5/vifib_configurator/SkinTemplateItem/portal_skins/vifib_configurator/BusinessConfiguration_invokePromiseAlarmList.xml
...igurator/BusinessConfiguration_invokePromiseAlarmList.xml
+5
-8
master/bt5/vifib_configurator/bt/revision
master/bt5/vifib_configurator/bt/revision
+1
-1
No files found.
master/bt5/vifib_configurator/SkinTemplateItem/portal_skins/vifib_configurator/BusinessConfiguration_invokePromiseAlarmList.xml
View file @
da854c05
...
@@ -57,17 +57,14 @@
...
@@ -57,17 +57,14 @@
configurator level, by providing a list of \n
configurator level, by providing a list of \n
alarms to be invoked always.\n
alarms to be invoked always.\n
"""\n
"""\n
alarm_to_solve_list = [\'promise_certificate_autority_tool\',\n
context.BusinessConfiguration_invokeSlapOSMasterPromiseAlarmList()\n
\'promise_conversion_server\'\n
\n
\'promise_kumofs_server\'\n
# This script only complements slapos_configurator definition\n
\'promise_mailhost_configuration\'\n
# with the code not yet rebranded/migrated.\n
\'promise_memcached_server\']\n
\n
\n
for alarm in context.portal_alarms.contentValues():\n
for alarm in context.portal_alarms.contentValues():\n
alarm_id = alarm.getId()\n
alarm_id = alarm.getId()\n
if alarm_id.startswith("promise_vifib") or \\\n
if alarm_id.startswith("promise_vifib"):\n
alarm_id.startswith("promise_slapos") or \\\n
alarm_id in alarm_to_solve_list:\n
alarm.solve()\n
alarm.solve()\n
</string>
</value>
</string>
</value>
</item>
</item>
...
...
master/bt5/vifib_configurator/bt/revision
View file @
da854c05
41
42
\ No newline at end of file
\ No newline at end of file
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