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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Douglas
slapos
Commits
6309ed47
Commit
6309ed47
authored
Sep 11, 2015
by
Alain Takoudjou
Committed by
Tristan Cavelier
Oct 07, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kvm: monitor sample updated
parent
326edbda
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
software/kvm/common.cfg
software/kvm/common.cfg
+3
-3
software/kvm/instance-kvm.cfg.jinja2
software/kvm/instance-kvm.cfg.jinja2
+1
-1
software/kvm/monitor/ansibleReport.py
software/kvm/monitor/ansibleReport.py
+2
-2
No files found.
software/kvm/common.cfg
View file @
6309ed47
...
...
@@ -98,7 +98,7 @@ mode = 0644
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/instance-kvm.cfg.jinja2
mode = 644
md5sum =
3e9d5e3c40f9c6c5e3dd690d524eb2f4
md5sum =
673198a81da3cf87b54f19d8acfceaa5
download-only = true
on-update = true
...
...
@@ -182,8 +182,8 @@ filename = ansible-promise.in
[ansible-monitor-script]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/monitor/ansibleReport.py
md5sum =
7a1be56978e043467f4f071cbae34b3c
mode = 0
644
md5sum =
5be58aa24bb33ce9f6df1537a4a77e8f
mode = 0
755
download-only = true
filename = ansibleReport.py
...
...
software/kvm/instance-kvm.cfg.jinja2
View file @
6309ed47
...
...
@@ -50,7 +50,7 @@ parts =
monitor-kvm-ansible
start-monitor
ca-httpd
monitor-promise
conf-
monitor-promise
{% endif -%}
{% if slapparameter_dict.get('document-host', '') %}
cluster-url-path
...
...
software/kvm/monitor/ansibleReport.py
View file @
6309ed47
...
...
@@ -197,8 +197,8 @@ if __name__ == "__main__":
"message": "kvm-1: OK(114) FAILED(0) IGNORED(2)",
"description": "Ansible playbook report in kvm-1. Execution date is: 2015-08-28 17:42:01."
}"""
pa
th
=
sys
.
argv
[
1
]
with
open
(
pa
th
,
'w'
)
as
status_file
:
pa
rameter_dict
=
json
.
loads
(
sys
.
argv
[
1
])
with
open
(
pa
rameter_dict
[
'status_path'
]
,
'w'
)
as
status_file
:
status_file
.
write
(
json
)
\ 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