@classmethod
  def copy_local_metadata(cls, host, keyname, is_verbose):
    # copy the metadata files for AppScale itself to use
    cls.scp(host, keyname, LocalState.get_locations_yaml_location(keyname),
      '{}/locations-{}.yaml'.format(cls.CONFIG_DIR, keyname), is_verbose)
    cls.scp(host, keyname, LocalState.get_locations_json_location(keyname),
      '{}/locations-{}.json'.format(cls.CONFIG_DIR, keyname), is_verbose)

    # and copy the json file if the tools on that box wants to use it
    cls.scp(host, keyname, LocalState.get_locations_json_location(keyname),
      '/root/.appscale/locations-{0}.json'.format(keyname), is_verbose)

    # and copy the secret file if the tools on that box wants to use it
    cls.scp(host, keyname, LocalState.get_secret_key_location(keyname),
      '/root/.appscale/', is_verbose)
Copies the locations.yaml and locations.json files found locally (which
dataset/ETHPy150Open AppScale/appscale-tools/lib/remote_helper.py/RemoteHelper.copy_local_metadata