-
Notifications
You must be signed in to change notification settings - Fork 275
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 yes argument when creating/extending a LV #279
Conversation
logical_volume is a typeBreaking changes to this file MAY impact these 5 modules (near match):lvm::logical_volume is a typeBreaking changes to this file WILL impact these 1 modules (exact match):Breaking changes to this file MAY impact these 1 modules (near match):This module is declared in 11 of 579 indexed public
|
If we set it to false by default, then is there no option to wipe signatures, or for sending --yes to the prompt ? |
This is the purpose of this PR to add the It will be set by default to
|
@bastelfreak is everything ok for the creation of a new minor release ? |
@bmlit thanks for this! I wonder if we can give a more meaningful name to the parameter as well, maybe something as simple as |
Hey @bmlit - did you get the chance to review the conflicts? |
Hi @jordanbreen28 , The conflict was quite simple to fix while keeping the same logic, but I can't test it though.. |
Nice @bmlit thanks for that! |
@bmlit can you rebase off of main? |
@bmlit couple of puppet-lint errors, could you look to resolve? |
@jordanbreen28 I rebased it from These thresholds are mainly coming from 41fc476 but I didn't have access to CONT-745 for checking why they was put so close to the current values. |
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.
LGTM.
Great work on this one @bmlit!
@jordanbreen28 when do you expect the next release (tag) for this contribution to be reflected? |
@tr0k we are just waiting on a couple of decisions to be made on other open PRs and bug fixes to go in before we release. |
Thanks for the quick reply! W8 impatiently for any updates on this. Cheers! |
issue
(related to #278)
This module is failing when trying to create a XFS LV on location where a XFS LV was present :
solution
A fix is to add the
--yes
option which can be used for automatically answer the above interactive question.implementation choices
This argument apply on the
lvcreate
/lvextend
command as they're taking new blocks for the the LV, and therefore may trigger the issue.I set it by default to
true
for being more versatile and avoiding Puppet run failure.The man page discourage it (
Use with extreme caution. (For automatic no, see -qq.)
) but Puppet is here for automating thinks and the user should know the consequences.