mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Adding missing line from master port.
This commit is contained in:
parent
e6962e070c
commit
498e6bbf23
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ def _linux_cpudata():
|
|||
key = comps[0].strip()
|
||||
val = comps[1].strip()
|
||||
if key == "processor":
|
||||
grains["num_cpus"] = int(val) + 1
|
||||
grains["num_cpus"] += 1
|
||||
# head -2 /proc/cpuinfo
|
||||
# vendor_id : IBM/S390
|
||||
# # processors : 2
|
||||
|
|
Loading…
Add table
Reference in a new issue