Using facter for retrieving OS architecure

Change-Id: Ic41ef1813c7605e314d840fe84af45be4c6f9e44