Issue #2150 has been updated by luke.
I pushed a simple, first version of this to a tickets/0.24.8/2150 branch in my repo, but it's not used anywhere, and it's nowhere near complete. In particular, it doesn't have any support for composite routes like SSL::Host and StoreConfigs need. ---------------------------------------- Feature #2150: The Indirector should have a 'routes' configuration file http://projects.reductivelabs.com/issues/2150 Author: luke Status: Accepted Priority: Normal Assigned to: luke Category: plumbing Target version: 0.25.0 Complexity: Unknown Affected version: 0.24.7 Keywords: 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://reductivelabs.com/redmine/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 -~----------~----~----~----~------~----~------~--~---
