You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: enum_services.rb
    path of file: ./repos/metasploit-framework/modules/post/solaris/gather
    
    the code of the file until where you have to start completion: ##
# This module requires Metasploi
    
  def run
    distro = get_sysinfo
    store_loot('solaris.version', 'text/plain', session, "Distro: #{distro[:hostname]}, Version: #{distro[:version]}, Kernel: #{distro[:kernel]}", 'solaris_info.txt', 'Solaris Version')

    # Print the info
    print_good('Info:')
    print_good("\t#{distro[:version]}")
    print_good("\t#{distro[:kernel]}")
    installed_pkg = get_services
    pkg_loot = store_loot('solaris.services', 'text/plain', session, installed_pkg, 'configured_services.txt', 'Solaris Configured Services')
    print_good("Service list saved to loot file: #{pkg_loot}")
    if datastore['VERBOSE']
      print_good('Services:')

      # Print the Packages
      installed_pkg.each_line do |p|
        print_good("\t#{p.chomp}")
      end
    end