Skip to content

Commit bd2fde1

Browse files
authored
Don't run fact when you can't find mysqld
1 parent fb4aa1d commit bd2fde1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/facter/mysqld_version.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Facter.add('mysqld_version') do
2+
confine { Facter::Core::Execution.which('mysqld') }
23
setcode do
34
Facter::Util::Resolution.exec('mysqld --no-defaults -V 2>/dev/null')
45
end

0 commit comments

Comments
 (0)