-
Notifications
You must be signed in to change notification settings - Fork 86
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
Request for enhancement: add custom puppet config settings #87
Comments
in my kitchen_ansible i have variable apparently in puppet any setting that's valid in the configuration file can be specified on the command line so i suggest implement something similar. |
I think instead of puppet_extra_flags |
Yep, I can totally craft a PR for that :). Do we need to support that for the |
not unless you need it. the puppet_agent is a fair way behind the puppet_apply. One day we should get all the puppet_apply features into puppet_agent but I suspect most people are using puppet_apply |
@looztra For me something simple as |
I will work on it these days and should be able to provide a PR soon |
this is now PR Custom options #95 |
fixed in version 1.0.34 |
In one of my usecase I need to specify the option stringify_facts to the puppet apply command line.
There are 2 ways to do that for the moment:
I personnaly find these 2 solutions too heavy for what I need to do (especially the override of puppet_apply_command because I need to rebuild the full command line, see https://github.com/neillturner/kitchen-puppet/blob/master/lib/kitchen/provisioner/puppet_apply.rb#L521-L539).
My proposal would be to provide an extra param that would allow the user to specify the extra args to the command line.
Could be something like
puppet_extra_conf_settings
, and in my case I would value it to--no-stringify_facts
.what do you think about it?
If that seems ok for you I can submit a PR.
The text was updated successfully, but these errors were encountered: