-
Notifications
You must be signed in to change notification settings - Fork 1
parameter naming for config $file* vs. $config* #2
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
Comments
Uhm,
|
Also if we introduce config_file , there's some incoherency with the $service and $package parameters, as they don't have a specific prefix for the main resource . |
I see that I was very unclear in my original message. In my little universe (which may be very biased, I grant) the module manages "the package", "the service" and "the configuration file", which leads to the package_ service_ and config_ prefixes. That two of them coincide with the underlying resource type is nice, but not the driving force. The _path suffix, too, comes from a linguistic argument (coming from a non-native speaker): contrary to $package and $service, $config might be misinterpreted as "the actual configuration (content)", and thus needs a clarification. Using $config_file_ as group, instead of $config_ is a nice improvement over adding the _path suffix. |
https://github.com/stdmod/puppet-elasticsearch/blob/master/manifests/init.pp#L46
I'm currently playing around myself with stuff in the stdmod arena and I'm uncomfortable with the $file param group. I'd change that to $config_* and $file to $config_path, to make it clearer what is managed here.
The text was updated successfully, but these errors were encountered: