Saltstack Official Linux Formula

4 lines
155B

  1. {% for cpu_core in range(salt['grains.get']('num_cpus', 1)) %}
  2. devices/system/cpu/cpu{{ cpu_core }}/cpufreq/scaling_governor = {{ governor }}
  3. {% endfor %}