[Puppet Users] Re: dynamically edit node definition

2011-09-18 Thread Sav
To add to my previous post, here is the big picture: I am given a system, where puppet is already set up. Lets say a new rpm is created. I need to install that rpm on a specific host by putting that rpm in a yum repository, and creating a pupmod that installs that rpm on a particular node. I

[Puppet Users] Re: dynamically edit node definition

2011-09-18 Thread Sav
To add to my previous post, here is the big picture: I am given a system, where puppet is already set up. Lets say a new rpm is created. I need to install that rpm on a specific host by putting that rpm in a yum repository, and creating a pupmod that installs that rpm on a particular node. I

[Puppet Users] Re: dynamically edit node definition

2011-09-18 Thread Sav
Import nodes/* is already being done. My problem is, I am not in control of any node definitions. I am completely ignorant as to what nodes have, or have not been defined (In most situations, the nodes have already been defined). Given a hostname, I have to (programmatic-ly) find where that

[Puppet Users] Re: dynamically edit node definition

2011-09-18 Thread Steve Snodgrass
Sav, Maybe I'm confused about what you are trying to do, but why not just do "import nodes/*" from site.pp instead of using find commands? The only catch is that if you add or remove a node, you have to do a "touch" command on site.pp to get puppet to re-read the import statement and pick up the