<commit_before>require 'utils/oracle_access'
require 'easy_type/helpers'

Puppet::Type.type(:oracle_exec).provide(:sqlplus) do
  include Utils::OracleAccess
  include EasyType::Helpers

  mk_resource_methods

  def flush
    output = sql statement, :username => resource.username, :password => resource.password, :sid => resource.sid
    send_log(:info, output) if resource.logoutput == :true
  end


end<commit_msg>Fix logging for oracle_exec<commit_after>require 'utils/oracle_access'
require 'easy_type/helpers'

Puppet::Type.type(:oracle_exec).provide(:sqlplus) do
  include Utils::OracleAccess
  include EasyType::Helpers
  include Puppet::Util::Logging

  mk_resource_methods

  def flush
    output = sql statement, :username => resource.username, :password => <PASSWORD>, :sid => resource.sid
    Puppet.info(output) if resource.logoutput == :true
  end


end
{'fraction_non_alphanumeric': 0.11303344867358708, 'fraction_numerical': 0.0, 'mean_word_length': 5.42962962962963, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7237909', 'n_tokens_mistral': 278, 'n_tokens_neox': 266, 'n_words': 61}