add hostidentity.rb using ruby script