commit | 49008ea0da0c7a91c17331e1e21caaa516980450 | [log] [tgz] |
---|---|---|
author | Yuriy Taraday <yorik.sar@gmail.com> | Thu Jul 06 17:51:49 2017 +0400 |
committer | Yuriy Taraday <yorik.sar@gmail.com> | Thu Jul 06 17:52:19 2017 +0400 |
tree | 628694c20a6bf5500a33b172c0930c34946d372a | |
parent | d577cb5c36b7db4077515cf742d5bba4a62189c0 [diff] |
Require /etc/sysfs.d to create governor.conf in it Change-Id: I3fbc02a9073b88b71de2645057cc9bd2b2ff9d21
diff --git a/linux/system/cpu.sls b/linux/system/cpu.sls index 8312c75..4bf6564 100644 --- a/linux/system/cpu.sls +++ b/linux/system/cpu.sls
@@ -29,6 +29,8 @@ - mode: 0644 - defaults: governor: {{ system.cpu.governor }} + - require: + - file: /etc/sysfs.d {% for cpu_core in range(salt['grains.get']('num_cpus', 1)) %}