logical_volume: Add option to use dm device-path for mountpoint#362
Open
mmusenbr wants to merge 1 commit intopuppetlabs:mainfrom
Open
logical_volume: Add option to use dm device-path for mountpoint#362mmusenbr wants to merge 1 commit intopuppetlabs:mainfrom
mmusenbr wants to merge 1 commit intopuppetlabs:mainfrom
Conversation
…tead of /dev// when set to true
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
logical_volume: Add option use_dm_devicepath to use /dev/mapper/$vg-$lv instead of /dev/$vg/$lv
Summary
We have the requirement to use /dev/mapper entries in /etc/fstab, currently when using the lvm::logical_volume entries will always be /dev/$vg/$lv.
To allow creation of entries with the /dev/mapper entries, an additional option use_dm_devicepath is introduced. The default value is set to keep the previous/default behavior.
From previous PRs (!124, !153, !199) it seems other have (or had) the requirement too, but it the PRs where never finalized from the PR openers.
Related Issues
Checklist
puppet apply)