Mercurial > repos > other > Puppet
view modules/mysql/lib/facter/mysqld_version.rb @ 389:668df4711671
Update MySQL modules
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 03 Jan 2022 17:16:21 +0000 |
parents | 48d3a1948e4d |
children | c6c9a2cfcfbd |
line wrap: on
line source
# frozen_string_literal: true Facter.add('mysqld_version') do confine { Facter::Core::Execution.which('mysqld') } setcode do Facter::Util::Resolution.exec('mysqld --no-defaults -V 2>/dev/null') end end