You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Andrei Savu (Commented) (JIRA)" <ji...@apache.org> on 2012/03/26 19:06:27 UTC
[jira] [Commented] (WHIRR-370) Templating for configuration files
[ https://issues.apache.org/jira/browse/WHIRR-370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238563#comment-13238563 ]
Andrei Savu commented on WHIRR-370:
-----------------------------------
Can we change the logging settings for Velocity? I see two news files created after running the unit tests: services/chef/velocity.log and services/hadoop/velocity.log. Overall I'm +1 for committing this change.
> Templating for configuration files
> ----------------------------------
>
> Key: WHIRR-370
> URL: https://issues.apache.org/jira/browse/WHIRR-370
> Project: Whirr
> Issue Type: Improvement
> Components: core
> Reporter: Tom White
> Fix For: 0.9.0
>
> Attachments: WHIRR-370.patch, WHIRR-370.patch
>
>
> Service configuration is currently done via the Whirr properties file by using a special per-service prefix (e.g. 'hadoop-common'). Using a templating approach (using e.g. Velocity) would make changing properties more familiar to users, and would make it easier for service implementors (since they wouldn't need to implement a generator class for each configuration file).
> It might even be possible to support the old syntax (so users can still configure everything from one file if they wished) by, e.g., appending all properties starting 'hadoop-common' to the core-site.xml template, etc.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira