Palmitoyltransferase that catalyzes the addition of palmitate onto various protein substrates, such as ADRB2, GSDMD, HRAS, NRAS and CGAS (PubMed:16000296, PubMed:27481942, PubMed:37802025, PubMed:38530158, PubMed:38599239). The ZDHHC9-GOLGA7 complex is a palmitoyltransferase specific for HRAS and NRAS (PubMed:16000296). May have a palmitoyltransferase activity toward the beta-2 adrenergic receptor/ADRB2 and therefore regulate G protein-coupled receptor signaling (PubMed:27481942). Acts as a regulator of innate immunity by catalyzing palmitoylation of CGAS, thereby promoting CGAS homodimerization and cyclic GMP-AMP synthase activity (PubMed:37802025). Activates pyroptosis by catalyzing palmitoylation of gasdermin-D (GSDMD), thereby promoting membrane translocation and pore formation of GSDMD (PubMed:38530158, PubMed:38599239). {ECO:0000269|PubMed:16000296, ECO:0000269|PubMed:27481942, ECO:0000269|PubMed:37802025, ECO:0000269|PubMed:38530158, ECO:0000269|PubMed:38599239}. (Microbial infection) Through a sequential action with ZDHHC20, rapidly and efficiently palmitoylates SARS coronavirus-2/SARS- CoV-2 spike protein following its synthesis in the endoplasmic reticulum (ER). In the infected cell, promotes spike biogenesis by protecting it from premature ER degradation, increases half-life and controls the lipid organization of its immediate membrane environment. Once the virus has formed, spike palmitoylation controls fusion with the target cell. . This is the function of ZDHHC9 (zDHHC palmitoyltransferase 9, Ensembl gene identifier ENSG00000188706).