On Thu, Jan 22, 2009 at 8:16 PM, Luke Kanies <l...@madstop.com> wrote:
>
> On Jan 22, 2009, at 8:41 PM, Nigel Kersten wrote:
>
>>
>> On Wed, Jan 21, 2009 at 2:23 AM, Paul Lathrop
>> <p...@tertiusfamily.net> wrote:
>>>
>>> Who has tried their hand at developing a custom Node Terminus?
>>>
>>> I've dug through the wiki but I can't seem to find a lot of
>>> information about the process. I'd love to hear any tips you might
>>> have. If I'm the first to dive into this, no problem: I'll pester
>>> Luke
>>> for help and then write up some documentation :-)
>>
>> I've poked at it a little, and it's on my radar to look at soon, as
>> we're looking for a way to consult an external database and inject
>> packages automatically into the catalog without having to actually
>> define them in puppet manifests, and it looked like a custom node
>> terminus was the only way to do this.
>
> Node terminii can't add resources to the catalog, they can just set
> parameters and classes on nodes.
>
> If you want to inject resources into the catalog, the only currently
> non-heinously-hackish way to do it is by adding the resources to a
> StoreConfigs db and then using a collection statement to pull them
> out.  I've done this for a couple of customers and it's worked pretty
> well, although there are well-worn performance issues with
> StoreConfigs.  I think the performance issues are approachable, as
> Brice demonstrated by making significant progress this summer, but
> I've exhausted my own abilities on them.


ah damnit. We've experimented with storeconfigs, and have been unable
to get it to scale, even with the significant improvements from
Brice's patches.

I guess this is why external nodes can only set parameters and classes as well.

hmm. Any other slightly-more-hackish options? :) Worst comes to worst
we'll write something to generate puppet manifests for us, but I'm a
bit concerned about the possible overhead from the sheer number we're
thinking about.



-- 
Nigel Kersten
Systems Administrator
Tech Lead - MacOps

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to puppet-dev@googlegroups.com
To unsubscribe from this group, send email to 
puppet-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to