Skip to content

logical_volume: Add option to use dm device-path for mountpoint#362

Open
mmusenbr wants to merge 1 commit intopuppetlabs:mainfrom
mmusenbr:lv_add_option_to_use_dm_name
Open

logical_volume: Add option to use dm device-path for mountpoint#362
mmusenbr wants to merge 1 commit intopuppetlabs:mainfrom
mmusenbr:lv_add_option_to_use_dm_name

Conversation

@mmusenbr
Copy link
Copy Markdown

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

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified. (For example puppet apply)

@mmusenbr mmusenbr requested review from a team and bastelfreak as code owners February 19, 2025 15:01
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Feb 19, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants