if piservices.PiServicePolicies.is_local():
    fabric.operations.local(command)
  else:
    fabric.api.run(command)