-
Notifications
You must be signed in to change notification settings - Fork 230
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
Added support for Java VM options #37
Conversation
| @@ -68,6 +68,8 @@ | |||
| # all TCP connections). | |||
| # ['confdir'] - The puppetdb configuration directory; defaults to | |||
| # `/etc/puppetdb/conf.d`. | |||
| # ['java_args'] - Java VM options; e.g. { '-Xmx' => '256m', '-Xms' => '256m' }; | |||
| # defaults to {}. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's probably worth mentioning here what exactly that default means. If I'm reading your code correctly the default is to just leave the settings that were layed down by the package--which I believe is indeed the correct behavior, but reading the current docs doesn't make that entirely clear.
We might even want to include a link to the public puppetdb docs so folks can see what the defaults are.
|
This looks good to me. Will hold off on merging it until after the inifile pull gets in. Thanks! |
| @@ -0,0 +1,15 @@ | |||
| module Puppet::Parser::Functions | |||
| newfunction(:create_subsetting_resource_hash, :type => :rvalue) do |args| | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you namespace this with puppetdb_ ...? Just makes finding the source of the function easier for users :-).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, I'll change the name
|
@kbrezina thanks... I'm +1 on this as soon as we merge the inifile stuff. @kbarber we will need to be careful with the timing on merging this in, because doing so will require updaing the modulefile to depend on a newer version of inifile. If you are wanting to get a release out prior to that, then we should hold off on merging this until your release goes out. |
|
@cprice-puppet how are we with this now? I wouldn't mind a release this week, but I can wait. |
|
@kbarber I think I still haven't merged his inifile pull req, so we're blocked on that. |
|
I think this should be merged (the inifile changes have already been merged). |
|
@fhrbek can you rebase the pull request, its out of date. |
|
Rebased. |
Added support for Java VM options
https://sprint.ly/product/7841/#!/item/120