I'm trying to set up a system in which the web devs can deploy new websites via puppet kick. I'm not having a problem with puppet kick itself, but rather figuring out how to make my "webserver::sitelist" class *only* get deployed via puppet kick, and not have it regularly evaluated in the nodes.pp file. I don't want webserver::sitelist to ever get automatically run by the puppet daemon. I only want that manually run via puppet kick.
Here's my puppet kick command:
This works fine as long as "include webserver::sitelist" is in the nodes.pp file for
webserver.example.com. But I don't want it to be in the nodes file and get evaluated every 30 minutes. When I comment out that include line, the puppet kick command above doesn't run the webserver::sitelist. It just exits successfully without doing anything.
What's the recommended way to do this?