Mercurial > repos > other > Puppet
diff 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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/modules/mysql/lib/puppet/provider/mysql_login_path/sensitive.rb Mon Jan 03 17:16:21 2022 +0000 @@ -0,0 +1,9 @@ +# 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