@@ -17,6 +17,9 @@ ondemand_service_disable: | |||
- name: ondemand | |||
- enable: false | |||
{%- if grains.get('virtual', None) in ['physical', None] %} | |||
{#- Governor cannot be set in VMs, etc. #} | |||
/etc/sysfs.d/governor.conf: | |||
file.managed: | |||
- source: salt://linux/files/governor.conf.jinja | |||
@@ -38,3 +41,5 @@ governor_write_sysfs_cpu_core_{{ cpu_core }}: | |||
{%- endfor %} | |||
{%- endif %} | |||
{%- endif %} |