Browse Source

Merge "Add dependency for enable KSM for RHEL/CentOS8"

changes/38/700738/31
Zuul 6 days ago
parent
commit
cfa808af7b
1 changed files with 14 additions and 4 deletions
  1. +14
    -4
      deployment/nova/nova-compute-container-puppet.yaml

+ 14
- 4
deployment/nova/nova-compute-container-puppet.yaml View File

@@ -1017,16 +1017,26 @@ outputs:
# mschuppert: we can remove the CentOS/RHEL split here when CentOS8/
# RHEL8 is available and we have the same package name providing the
# KSM services
- name: make sure package providing ksmtuned is installed (CentOS)
- name: make sure package providing ksmtuned is installed (CentOS7)
package:
name: qemu-kvm-common-ev
state: present
when: ansible_distribution == 'CentOS'
- name: make sure package providing ksmtuned is installed (RHEL)
when:
- ansible_distribution == 'CentOS'
- ansible_distribution_major_version == '7'
- name: make sure package providing ksmtuned is installed (RHEL7)
package:
name: qemu-kvm-common-rhev
state: present
when: ansible_distribution == 'RedHat'
when:
- ansible_distribution == 'RedHat'
- ansible_distribution_major_version == '7'
- name: make sure package providing ksmtuned is installed (RHEL8 or CentOS8)
package:
name: qemu-kvm-common
state: present
when:
- ansible_distribution_major_version == '8'
- name: enable ksmtunded
service:
name: "{{ item }}"

Loading…
Cancel
Save