Skip to content

Commit e3acc7d

Browse files
author
Erick Banks
authored
Merge pull request #1224 from jstewart612/patch-1
Don't run fact when you can't find mysqld
2 parents 529d5a1 + bd2fde1 commit e3acc7d

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)