Module: PuppetX::EnterpriseModules::Oracle::Mungers::LeaveSidRestToUppercase
- Defined in:
- lib/puppet_x/enterprisemodules/oracle/mungers.rb
Overview
Define some Oracle specific mungers
Instance Method Summary collapse
-
#unsafe_munge(original_value) ⇒ Object
This munger extracts the sid from the value and uppercases therest of the value.
Instance Method Details
#unsafe_munge(original_value) ⇒ Object
This munger extracts the sid from the value and uppercases therest of the value. The sid remains as it is.
24 25 26 27 |
# File 'lib/puppet_x/enterprisemodules/oracle/mungers.rb', line 24 def unsafe_munge(original_value) value, _, sid = original_value.partition('@') "#{value.upcase}@#{sid}" end |