def get_updated_userdata(data)
      result = RightScale::CloudUtilities.parse_rightscale_userdata(data)
      api_url       = "https://#{result['RS_server']}/api"
      client_id     = result['RS_rn_id']
      client_secret = result['RS_rn_auth']
      new_userdata = retrieve_updated_data(api_url, client_id , client_secret)
      if (new_userdata.to_s.empty?)
        return data
      else
        return new_userdata
      end
    end
def get_updated_userdata(data)
      result = RightScale::CloudUtilities.parse_rightscale_userdata(data)
      api_url       = "https://#{result['RS_server']}/api"
      client_id     = result['RS_rn_id']
      client_secret = result['RS_rn_auth']
      new_userdata = retrieve_updated_data(api_url, client_id , client_secret)
      if (new_userdata.to_s.empty?)
        return data
      else
        return new_userdata
      end
    end
Parses azure user metadata into a hash.

 === Parameters
 data(String):: raw data

 === Return
 result(Hash):: Hash-like leaf value