saltstack/salt — pull request #3328 by intchanter (2013-01-19 05:33:56+00:00)
Title: Fail gracefully as non-privileged user

When running as a non-privileged user, salt gives a traceback on failing to open /proc/modules. The open is now wrapped in a try/except, with the exceptional condition returning False from the __virtual__() function in kvm_hyper.py.

This should be correct as non-privileged users can't manage a hypervisor anyway.