Issue #2150 has been updated by Nigel Kersten.

isn't this closed now rather than "in testing branch"?
----------------------------------------
Feature #2150: All indirector plugin usage should be configurable
https://projects.puppetlabs.com/issues/2150

Author: Luke Kanies
Status: Available In Testing Branch
Priority: High
Assignee: 
Category: plumbing
Target version: Statler
Affected Puppet version: 0.24.7
Keywords: 
Branch: 


Now that the Indirector is starting to be used heavily for plugins, we're 
finding that we need to edit executables in order to configure them correctly 
to use the plugins.  There's some flexibility (e.g., the node_terminus 
setting), but it's not as flexible as it needs to be; in particular, cache 
configuration will never work well in the settings.

Instead, there should be a simple 'routes' configuration file, probably in 
Yaml.  Instead of classes declaring what terminus and cache classes to use, 
they would add a default route for themselves.

Then the routes class would have a list of default routes, which could be 
overridden by a separate routes file, probably in a declarative format like 
yaml.  I see it looking something like this:
<pre>
--- 
puppetd: 
  facts: 
    cache: rest
    terminus: facter
  catalog: 
    cache: yaml
    terminus: rest
puppetmasterd: 
  facts: 
    terminus: yaml
  catalog: 
    cache: active_record
    terminus: compiler
</pre>

I'm assigning this for 0.25, but I highly doubt it will make it in, partially 
because there is still a lot of work to do on the design.  

In particular, there are often linked routes - all of the SSL (certificate, 
host, etc.) classes are routed together in specific ways (see 
Puppet::SSL::Host.ca_location= for more info), and enabling StoreConfigs would 
switch the cache for Node, Facts, and Catalog to active_record.  It'd be great 
if the routing system supported this, somehow, but I think it'll take a lot of 
considering.

In the meantime, we'll have to stick to editing the executables when we use 
plugins.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to