Perhaps you want to use an external node classifier? It can give you the dynamic definition of nodes per run. See http://docs.puppetlabs.com/guides/external_nodes.html
On Fri, Sep 16, 2011 at 1:00 PM, Sav <savannah.dur...@gmail.com> wrote: > I would like to find out a way... given a host (or node), to > dynamically add or remove from that node's definition. Does anybody > know if this is possible? > > I am currently running a find statement in the /etc/puppet/ directory > for all files that end in ".pp", grepping for "node 'hostname' ... {", > and using a sed command to insert include statements. Is there a more > simple way to do this? > > If not, is there at least an easier way to find the ".pp" file where a > particular node is defined? > > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- Adrien Thebo adr...@puppetlabs.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.