How to apply a single class from an agent with puppet v3?

606 views
Skip to first unread message

Schofield

unread,
Jan 23, 2013, 8:25:33 AM1/23/13
to puppet...@googlegroups.com
Is it possible to apply a single class in the context of the catalog to a puppet agent?  The puppet run has grown lengthy and I would like to run just the puppet class I am working on.

jcbollinger

unread,
Jan 23, 2013, 12:37:28 PM1/23/13
to puppet...@googlegroups.com


On Wednesday, January 23, 2013 7:25:33 AM UTC-6, Schofield wrote:
Is it possible to apply a single class in the context of the catalog to a puppet agent?  The puppet run has grown lengthy and I would like to run just the puppet class I am working on.


The command

puppet agent --tags <classname>

should do about what you want.  It may not be limited to just the one class (the class itself may demand otherwise), but it will exclude stuff that puppet doesn't think is relevant to the class in question.


John

Reply all
Reply to author
Forward
0 new messages