Class: Puppet::Parameter::WlsHashTreeProperty
- Inherits:
-
WlsProperty
- Object
- WlsProperty
- Puppet::Parameter::WlsHashTreeProperty
- Defined in:
- lib/puppet_x/enterprisemodules/weblogic/wls_hash_tree_property.rb
Overview
See the file “LICENSE” for the full license governing this code.
Instance Method Summary collapse
-
#insync?(is) ⇒ Boolean
rubocop:disable Naming/MethodParameterName.
Instance Method Details
#insync?(is) ⇒ Boolean
rubocop:disable Naming/MethodParameterName
13 14 15 16 17 18 19 20 21 |
# File 'lib/puppet_x/enterprisemodules/weblogic/wls_hash_tree_property.rb', line 13 def insync?(is) if should.to_s == 'absent' && is.to_s != 'absent' Array(is).sort == Array(default_value).sort elsif should.to_s == 'absent' && is.to_s == 'absent' true else Array(is).sort == Array(should).sort end end |