mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
properly format the cpuarch grain
This commit is contained in:
parent
2e09a39ae5
commit
5c1f559ab6
@ -31,8 +31,9 @@ def _cpuarch():
|
|||||||
'''
|
'''
|
||||||
Return the cpu architecture
|
Return the cpu architecture
|
||||||
'''
|
'''
|
||||||
return subprocess.Popen(['uname', '-m'],
|
arch = subprocess.Popen(['uname', '-m'],
|
||||||
stdout=subprocess.PIPE).communicate()[0].strip()
|
stdout=subprocess.PIPE).communicate()[0].strip()
|
||||||
|
return {'cpuarch': arch}
|
||||||
|
|
||||||
def _virtual(os_data):
|
def _virtual(os_data):
|
||||||
'''
|
'''
|
||||||
|
Loading…
Reference in New Issue
Block a user