We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a27abf9 commit ebe7cecCopy full SHA for ebe7cec
lib/facter/lvm_support.rb
@@ -17,7 +17,7 @@
17
confine lvm_support: true
18
19
setcode do
20
- vgs = Facter::Core::Execution.execute('vgs -o name --noheadings 2>/dev/null', timeout: 30) if Facter.value(:lvm_support)
+ vgs = Facter::Core::Execution.execute('vgs -o name --noheadings 2>/dev/null', timeout: 30)
21
22
if vgs.nil?
23
0
@@ -49,7 +49,7 @@
49
50
51
52
- pvs = Facter::Core::Execution.execute('pvs -o name --noheadings 2>/dev/null', timeout: 30) if Facter.value(:lvm_support)
+ pvs = Facter::Core::Execution.execute('pvs -o name --noheadings 2>/dev/null', timeout: 30)
53
54
if pvs.nil?
55
0 commit comments