Class: PuppetX::EnterpriseModules::Oracle::ReadOnlyProperty

Inherits:
Puppet::Property
  • Object
show all
Defined in:
lib/puppet_x/enterprisemodules/oracle/read_only_property.rb

Overview

rubocop:disable Style/Documentation

Instance Method Summary collapse

Instance Method Details

#insync?(is) ⇒ Boolean

rubocop:enable Style/Documentation

Returns:

  • (Boolean)


13
14
15
16
# File 'lib/puppet_x/enterprisemodules/oracle/read_only_property.rb', line 13

def insync?(is)
  Puppet.warning "#{path} is a puppet read-only property; unable to change from #{is} to #{should}." if is.to_s != should.to_s
  true
end