Is it possible to dynamically edit a node definition? Basically, given a node, add or remove from it's node definition on the fly.
Right now, I am doing a find on the /etc/puppet/manifests/nodes directory on all ".pp" files, grepping for "node hostname { ", and using a sed command to edit the node definition. Is there a more straightforward way to do this? Can it be done in memory? Or at least, is there a better way to return the .pp file that contains a particular node definition? Thanks! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/8WmovK4YkQsJ. 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.