properly format the cpuarch grain

This commit is contained in:
Thomas S Hatch 2011-04-29 16:17:19 -06:00
parent 2e09a39ae5
commit 5c1f559ab6

View File

@ -31,8 +31,9 @@ def _cpuarch():
'''
Return the cpu architecture
'''
return subprocess.Popen(['uname', '-m'],
arch = subprocess.Popen(['uname', '-m'],
stdout=subprocess.PIPE).communicate()[0].strip()
return {'cpuarch': arch}
def _virtual(os_data):
'''