Skip to content
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

Made logical_volume $size an optional parameter #95

Merged
merged 1 commit into from
Jul 23, 2015

Conversation

campos-ddc
Copy link

Not setting it should use the entire physical drive.

Not setting it should use the entire physical drive.
@esalberg
Copy link
Contributor

I was just going to query if a change like this would be acceptable. Since it's not possible to set "undef" in hiera, it would be great to have that in the code as default.

ETA: I tested this change, and it allowed the following to work in hiera, which was not allowed before:
lvm::volume_groups:
VGapps:
physical_volumes:
- /dev/sdb
logical_volumes:
LVapp:
mountpath: /apps
extents: 100%FREE

Created (/dev/sdb is a new 20G volume):
/dev/mapper/VGapps-LVapp 20G 172M 19G 1% /apps

DavidS added a commit that referenced this pull request Jul 23, 2015
Made logical_volume $size an optional parameter
@DavidS DavidS merged commit 696fe41 into puppetlabs:master Jul 23, 2015
cegeka-jenkins pushed a commit to cegeka/puppet-lvm that referenced this pull request Oct 23, 2017
Made logical_volume $size an optional parameter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants