-
Notifications
You must be signed in to change notification settings - Fork 177
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
Add support for multiple values per key #481
Conversation
This would fix #41 and https://tickets.puppetlabs.com/browse/MODULES-5012 |
Hey @omolenkamp , thank you for your contribution. Looks like we have failures in both spec and acceptance tests for this. Is it something that you could take a look at? We are here to help if you need anything. |
All PR Testing jobs are failing on the step "Install agent", but it doesn't look like that's something I broke. |
Hey, I think these issues should be resolved now. I'll re kick the tests 🙂 |
The test failures look related, probably broke idempotency but not 100% sure. |
It looks like there is a single failure occurring across all OSs. Something related to change logging. If this issue is fixed, we should have no problem merging this PR. |
Hello! 👋 This pull request has been open for a while and has had no recent activity. We've labelled it with If you are waiting on a response from us we will try and address your comments on a future Community Day. Alternatively, if it is no longer relevant to you please close the PR with a comment. Please note that if a pull request receives no update for 7 after it has been labelled, it will be closed. We are always happy to re-open pull request if they have been closed in error. |
Keep open. |
Closing and re-opening to re-kick the tests as the logs of the last run have been discarded. |
Hi @omolenkamp, it seems like your PR has been stale for a while. Our team is currently cleaning up our modules and we are looking to address any stale PRs. Since there hasn't been any engagement for a long time, we have decided to put this PR back on our 'attention-needed' list. Please be aware that PRs with this tag are generally closed within 1-2 weeks if there is no response back from the author and/or engagement from the community. Please be aware that closed PRs an be reopened if the author wants to continue working on them! Since your PR is a potential fix for one of our currently ongoing issues with the module, we can also keep it open if someone else volunteers to 'adopt' this PR and you agree with it. Thanks for your understanding. |
Sorry, haven't looked at this issue for a while. If the tests can be run again to produce new logs, I'll try to fix the remaining bug soon. |
@omolenkamp - looks like our github bot wrongly closed this PR. I've re-opened to kick the tests off like you requested. Apologies for the delay in noticing this! Looks like its one recurring test failure for all OS's, so hoping its nothing to major to fix. Thanks for your work on this one. |
Hey @omolenkamp! |
reopen |
This change adds support for ini files in which the same key is used multiple times for lists of values, for example:
To set multiple values, an array of values can be passed to the
value
property ofini_setting
.When passing a single value, the module works as before, with one exception: when a single value is passed to
value
, but the ini file already contains multiple lines with the same key, any additional lines will now be removed instead of retained.