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

Don't execute the lvm commands when not supported. #193

Merged
merged 1 commit into from
Nov 24, 2017

Conversation

smithj4
Copy link
Contributor

@smithj4 smithj4 commented Sep 12, 2017

When lvm_support was not present, facter would still attempt to execute the vgs and pvs commands.

@smithj4 smithj4 changed the title Confine the entire code block not only the return. Don't execute the lvm commands when not supported. Sep 12, 2017
When lvm_support was not present, facter would still attempt to execute
the vgs and pvs commands.
@pmcmaw
Copy link
Contributor

pmcmaw commented Nov 24, 2017

@smithj4 many thanks for your contribution.
Thanks to your PR I have been able to resolve the following issue:
https://tickets.puppetlabs.com/browse/MODULES-6065

@fatmcgav
Copy link

@pmcmaw Any chance of getting a puppetlabs-lvm module release with this fix included?

@pmcmaw
Copy link
Contributor

pmcmaw commented Apr 26, 2018

Hey @fatmcgav,
Yes of course, I will work on getting a release out for you.
Sorry for the delay!

@pmcmaw
Copy link
Contributor

pmcmaw commented Apr 26, 2018

Version 1.0.1 has now been released.
You can find it here: https://forge.puppet.com/puppetlabs/lvm

Thank you for your patience @fatmcgav

@fatmcgav
Copy link

@pmcmaw Cheers for the quick turn-around :D

jograb pushed a commit to jograb/puppetlabs-lvm that referenced this pull request Nov 20, 2018
Unfortunately you've deleted the changes, merged in puppetlabs#193 with the new release 1.1.0.

Error: Facter: error while resolving custom facts in /opt/puppetlabs/puppet/cache/lib/facter/lvm_support.rb: execution of command "vgs -o name --noheadings 2>/dev/null" failed: command not found.
tphoney added a commit that referenced this pull request Dec 19, 2018
Don't execute the lvm commands when not supported. #193
@julianxhokaxhiu
Copy link

For anyone landing here, it seems that version 1.1.0 misses this PR, while 1.2.0 brings it back.

So if you need this patch, remember to use at least version 1.2.0.

cegeka-jenkins pushed a commit to cegeka/puppet-lvm that referenced this pull request Jun 4, 2020
Don't execute the lvm commands when not supported.
cegeka-jenkins pushed a commit to cegeka/puppet-lvm that referenced this pull request Jun 4, 2020
Unfortunately you've deleted the changes, merged in puppetlabs#193 with the new release 1.1.0.

Error: Facter: error while resolving custom facts in /opt/puppetlabs/puppet/cache/lib/facter/lvm_support.rb: execution of command "vgs -o name --noheadings 2>/dev/null" failed: command not found.
cegeka-jenkins pushed a commit to cegeka/puppet-lvm that referenced this pull request Jun 4, 2020
Don't execute the lvm commands when not supported. puppetlabs#193
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.

6 participants