Use uname -m instead of -p for fact server.Arch
since uname -m is more portable than uname -p.
@@ -91,7 +91,9 @@ class Arch(FactBase):
Returns the system architecture according to ``uname``.
'''
- command = 'uname -p'
+ # ``uname -p`` is not portable and returns ``unknown`` on Debian.
+ # ``uname -m`` works on most Linux and BSD systems.
+ command = 'uname -m'
class Command(FactBase):
