On Tue, Nov 13, 2012 at 10:51 PM, ZJE <[email protected]> wrote: > Hi all, > > I've been working on a new indirector and I wanted to add some settings to > puppet.conf. In order for them to work properly, it seemed like I needed to > add a bunch of "define_settings()" calls to puppet/defaults.rb > I would like to make my code more portable than a patch to defaults.rb, is > there somewhere else I can put the settings (preferably in their own file) > to achieve this? > > Sorry if this is a newbie question, I'm still rather new to ruby and the > puppet code.
As far as I know, there is currently no supported way to add new settings to Puppet from within a terminus. This seems like a great opportunity to file a feature request and let us know what you're trying to accomplish so we can better understand how to provide an API to support this functionality. We're currently working on improving our settings and code loading functionality for Puppet 3.1.0. I don't think we'll be adding a lot of new functionality, but this will be a great opportunity to work on this while the current approach is fresh in our mind. I searched through our ticket database and didn't immediately see a feature request for this specific functionality. If you do file a ticket, please mention http://projects.puppetlabs.com/issues/2150 and http://projects.puppetlabs.com/issues/16306 as being related tickets. Also, please add me as a watcher so I can keep track of this need for additional functionality. Thanks, -Jeff -- You received this message because you are subscribed to the Google Groups "Puppet Developers" 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-dev?hl=en.
