-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
Move templates #132
Comments
If I understand correctly the discussion at #122, we should remove any |
I believe the opposite is true. I believe that PR #122 should be rejected in favor of this issue.
|
So am I.
Currently there is no code that use Is the wanted feature to determine automatically what template to use without providing any parameter to puppet class?
As there is no code that uses Sorry for asking the obvious but as its a breaking change, IMHO, we need to have a really clear goal. |
You're right, I needed to go study my profile notes+code more. Let's try this again. Most of the So yes you're right, the module's code doesn't use
IMO, yes, that would be on track for the right thing to do. Something like:
|
Is there is a case were user will use this module without managing the configuration?
I moved all parameters from
And |
My experience with modules is that invariably they are less mature than the service you're trying to manage. I don't say that to disparage work on modules, but I take it as a general statement of what I've gone through trying to modernize our puppet at $WORK. The areas I'm able to modernize the fastest are almost always ones that have good abilities to STOP them from poorly managing our servers, because they've decided to manage something that doesn't work for us (most famously here, any module that wants to manage a yumrepo, we have to disable: because no module owner ever thinks about needing to go through a proxy). So, "do I have a use case?" In this situation, not offhand. But I very much appreciate when a module lets me choose whether or not to manage a resource, because there's a world of variation in systems administration, and just because I can't think of a reason doesn't mean someone else can't. |
PR started at #135 |
This issue has been solved by #135. |
The templates are currently in directories based on the OS codename. The fact for codename isn't always available. We should move the templates to directories based on the standard OS facts.
This is a breaking change, but the next released version is scheduled to be a major anyway.
See #122 (comment)
The text was updated successfully, but these errors were encountered: