Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
salt
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
17
Merge Requests
1
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9865f826
authored
Dec 02, 2017
by
Czémán Arnold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vmdriver, storagedriver: fix salt errors when re-run
parent
cd0ba607
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
4 deletions
+15
-4
salt/storagedriver/init.sls
+12
-1
salt/vmdriver/init.sls
+3
-3
No files found.
salt/storagedriver/init.sls
View file @
9865f826
...
...
@@ -4,6 +4,13 @@ include:
- storagedriver.configuration
- storagedriver.nfs-server
{% if grains['os_family'] == 'RedHat' %}
ev_repo_for_storagedriver:
pkg.installed:
- name: centos-release-qemu-ev
{% endif %}
storagedriver:
pkg.installed:
- pkgs:
...
...
@@ -14,7 +21,7 @@ storagedriver:
- libmemcached-devel
- python-devel
- python-virtualenvwrapper
- qemu-img
- qemu-img
-ev
- zlib-devel
{% else %}
- python-pip
...
...
@@ -27,6 +34,10 @@ storagedriver:
- require_in:
- git: gitrepo_storagedriver
- virtualenv: virtualenv_storagedriver
{% if grains['os_family'] == 'RedHat' %}
- require:
- pkg: ev_repo_for_storagedriver
{% endif %}
storage:
service:
...
...
salt/vmdriver/init.sls
View file @
9865f826
...
...
@@ -6,7 +6,7 @@ include:
{% if grains['os_family'] == 'RedHat' %}
ev_repo:
ev_repo
_for_vmdriver
:
pkg.installed:
- name: centos-release-qemu-ev
{% endif %}
...
...
@@ -30,7 +30,7 @@ vmdriver:
- libxslt-devel
- python-devel
- python-virtualenvwrapper
- qemu-img
- qemu-img
-ev
- zlib-devel
{% else %}
- qemu-kvm
...
...
@@ -66,7 +66,7 @@ vmdriver:
- virtualenv: virtualenv_vmdriver
{% if grains['os_family'] == 'RedHat' %}
- require:
- pkg: ev_repo
- pkg: ev_repo_for_vmdriver
{% endif %}
agentdriver_service:
...
...
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