-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supporting puppet.conf - design discussion #1
Comments
Can you provide examples of puppet DSL as you imagine it for each case! On Sat, 20 Jun 2015 06:13 Greg Swift [email protected] wrote:
|
Configuration reference for 4.1 Now that i've looked at that, and trying to write a few examples.. and i dunno anymore. |
1: This one has a problem when sections have parameters with the same name. Which can be handled with the second...
2: names for the resources are kinda ugly...
|
@gregswift what is exactly the problem with the first proposal? |
@gregswift you can use composite namevars so that you can name your param |
yes, composites. thats what i meant when i said it the long drawn out way :) |
@gregswift I started something here: https://github.com/camptocamp/puppet-puppet_conf_providers |
I have been trying to figure out how to manage the puppet.conf contents, and my preference is always augeasproviders. I'm trying to determine how best to tackle this.
1: A single giant type/provider set that handles the whole file. This just doesnt seem like it would work to me, because of sections like environments.
2: A separate type per section (main, master, agent, environments) with a shared provider? Is that even doable?
3: Separate type/provider per section. seems like lots of dupe work.
The text was updated successfully, but these errors were encountered: