Facter.add('virtual_environment') do
      setcode do
        Facter::Core::Execution.exec('/bin/cat
/opt/puppet/facts/virtual_environment')
      end
    end