Issue #7790 has been updated by Nick Fagerlund.
(Quick note: `[apply]` doesn't exist; settings for puppet apply (and all faces, unless you set their run mode) go in `[user]`.) So, right now we have a pretty strict hierarchy of blocks: main is overridden by run mode, and run mode is overridden by environment. I'm guessing you'd want agent and user run modes to override `[node]`, so it sounds like you're introducing a new level of the hierarchy. What are the implications of this? `[node]` isn't as easy to explain as run mode or environment, and I also don't think it's the only grouping it makes sense to have -- it'd be nice to combine environments, too. I think a more robust design would be to allow compound blocks (`[agent, user]`, or `[dev, testing]`), but that introduces problems of its own. (If you do, say, `[agent, production]`, where in the lookup hierarchy do those settings live?) We could set it like, environment -> any compound blocks including your environment -> run mode -> any compound block including your run mode -> main. ---------------------------------------- Feature #7790: A new configuration file block that applies to node-based operations, agent and apply https://projects.puppetlabs.com/issues/7790 Author: Nigel Kersten Status: Unreviewed Priority: Normal Assignee: Category: Target version: Affected Puppet version: Keywords: Branch: I propose a `[node]` block in the puppet.conf file. `[main]` propagates to everything, but often you want the same settings to apply to Puppet in both `[agent]` and `[apply]` run modes. This would be useful for things like setting reports, storeconfigs, libdir, etc etc. -- 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.
