Re: [Puppet Users] dynamically edit node definition

2011-09-17 Thread Sav
I looked into that, but I am not in control of all node definitions across the system: "You can optionally combine an ENC with regular node definitions in site.pp. This works on the “I hope you brought enough for everybody” rule: things will work correctly if you have an ENC and no node definit

Re: [Puppet Users] dynamically edit node definition

2011-09-17 Thread Adam Gibbins
On 17 September 2011 16:42, Sav wrote: > 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 hos

[Puppet Users] dynamically edit node definition

2011-09-17 Thread Sav
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 th