get rid off trailing ,
This commit is contained in:
parent
8a96ea5cf0
commit
6d75999d6a
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
Facter.add("mysql_version") do
|
||||
confine :mysql_exists => true
|
||||
setcode do
|
||||
Facter::Util::Resolution.exec('mysql --version').chomp.split(' ')[4]
|
||||
Facter::Util::Resolution.exec('mysql --version').chomp.split(' ')[4].split(',').first
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue