Palmitoyltransferase specific for Ras proteins. hexadecanoyl-CoA + L-cysteinyl-[protein] = CoA + S-hexadecanoyl-L-cysteinyl-[protein] The DHHC domain is required for palmitoyltransferase activity. Autopalmitoylated. Belongs to the DHHC palmitoyltransferase family. ERF2/ZDHHC9 subfamily.