Make sure you use pumpkin, which is distinctly different from pumpkin pie mix. Pumpkin pie mix will not yield the same results.
To get pumpkin mixture into shot glasses easily, spoon into small plastic bag. Cut a corner, and pipe it in. Tap shot glasses lightly to remove any bubbles from mixture.