Prise en compte correcte des LXC/Centos pour le swappiness
This commit is contained in:
@@ -8,8 +8,10 @@
|
|||||||
sysctl.present:
|
sysctl.present:
|
||||||
- value: 10
|
- value: 10
|
||||||
{% elif grains['os'] == 'CentOS' %}
|
{% elif grains['os'] == 'CentOS' %}
|
||||||
vm.swappiness:
|
{% if grains['virtual'] != 'LXC' %}
|
||||||
sysctl.present:
|
vm.swappiness:
|
||||||
- value: 25
|
sysctl.present:
|
||||||
|
- value: 25
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user