# File lib/ohai/plugins/joyent.rb, line 39 def collect_pkgsrc if File.exist?('/opt/local/etc/pkg_install.conf') sm_pkgsrc = ::File.read("/opt/local/etc/pkg_install.conf").split("=") sm_pkgsrc[1].chomp else nil end end