view modules/mysql/lib/puppet/provider/mysql_login_path/sensitive.rb @ 389:668df4711671

Update MySQL modules
author IBBoard <dev@ibboard.co.uk>
date Mon, 03 Jan 2022 17:16:21 +0000
parents
children c6c9a2cfcfbd
line wrap: on
line source

# frozen_string_literal: true

# A Puppet Language type that makes the Sensitive Type comparable
#
class Puppet::Provider::MysqlLoginPath::Sensitive < Puppet::Pops::Types::PSensitiveType::Sensitive
  def ==(other)
    return true if other.is_a?(Puppet::Pops::Types::PSensitiveType::Sensitive) && unwrap == other.unwrap
  end
end