Simply brush the pumpkins with glue and roll them in a cookie sheet (or any other dish) filled with enough glitter. Allow to dry. *I recommend spraying with clear spray paint afterwards to avoid the glitter flecking off all over the place
Tape off the stem of the pumpkin. Spray paint the entire pumpkin with the metallic spray paint of your choice.