Method: OraUtils::OrapwdCommand#execute
- Defined in:
- lib/orabase/utils/orapwd_command.rb
#execute(arguments) ⇒ Object
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/orabase/utils/orapwd_command.rb', line 10 def execute(arguments) = {:failonfail => true} value = '' command = command_string(arguments) within_time(@timeout) do Puppet.debug "Executing #{@command} command: #{arguments} as #{os_user}" value = Puppet::Util::Execution.execute(command, ) end value end |