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
6fb670c8
authored
6 years ago
by
barni2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change conditions for xenial
parent
905f473d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
salt/vmdriver/init.sls
+1
-1
salt/vmdriver/libvirt.sls
+2
-2
No files found.
salt/vmdriver/init.sls
View file @
6fb670c8
...
@@ -53,7 +53,7 @@ vmdriver:
...
@@ -53,7 +53,7 @@ vmdriver:
{% endif %}
{% endif %}
- require_in:
- require_in:
- file: /etc/default/libvirt-bin
- file: /etc/default/libvirt-bin
{% if grains['os_family'] == 'RedHat' or grains['os'] == 'Debian'
or grains['os'] == 'Ubuntu' and grains['oscodename'] == 'xenial'
%}
{% if grains['os_family'] == 'RedHat' or grains['os'] == 'Debian' %}
- service: libvirtd
- service: libvirtd
{% else %}
{% else %}
- file: /etc/apparmor.d/libvirt/TEMPLATE
- file: /etc/apparmor.d/libvirt/TEMPLATE
...
...
This diff is collapsed.
Click to expand it.
salt/vmdriver/libvirt.sls
View file @
6fb670c8
...
@@ -15,7 +15,7 @@ libvirtconf:
...
@@ -15,7 +15,7 @@ libvirtconf:
file.append:
file.append:
- text: libvirtd_opts="-d -l"
- text: libvirtd_opts="-d -l"
{% if grains['os_family'] == 'RedHat' or grains['os'] == 'Debian'
or grains['os'] == 'Ubuntu' and grains['oscodename'] == 'xenial'
%}
{% if grains['os_family'] == 'RedHat' or grains['os'] == 'Debian' %}
libvirtd:
libvirtd:
{% else %}
{% else %}
libvirt-bin:
libvirt-bin:
...
@@ -68,7 +68,7 @@ vmdriver_semodule:
...
@@ -68,7 +68,7 @@ vmdriver_semodule:
- file: /root/vmdriver.te
- file: /root/vmdriver.te
- pkg: selinux_pkgs
- pkg: selinux_pkgs
{% elif grains['os'] == 'Debian'
or grains['os'] == 'Ubuntu' and grains['oscodename'] == 'xenial'
%}
{% elif grains['os'] == 'Debian' %}
/usr/bin/kvm:
/usr/bin/kvm:
file.replace:
file.replace:
...
...
This diff is collapsed.
Click to expand it.
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