Browse Source

Require /etc/sysfs.d to create governor.conf in it

Change-Id: I3fbc02a9073b88b71de2645057cc9bd2b2ff9d21
pull/115/head
Yuriy Taraday 7 years ago
parent
commit
49008ea0da
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      linux/system/cpu.sls

+ 2
- 0
linux/system/cpu.sls View File

- mode: 0644 - mode: 0644
- defaults: - defaults:
governor: {{ system.cpu.governor }} governor: {{ system.cpu.governor }}
- require:
- file: /etc/sysfs.d


{% for cpu_core in range(salt['grains.get']('num_cpus', 1)) %} {% for cpu_core in range(salt['grains.get']('num_cpus', 1)) %}



Loading…
Cancel
Save