Skip to content

Commit

Permalink
Merge pull request saltstack#1023 from stephas/develop
Browse files Browse the repository at this point in the history
OS X and kvm module disable
  • Loading branch information
SEJeff committed Mar 29, 2012
2 parents d643db9 + ec9889b commit ff21718
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions salt/modules/kvm_hyper.py
Expand Up @@ -48,6 +48,8 @@ def __virtual__():
return False
if __grains__['kernel'] != 'Linux':
return False
if not os.path.exists('/proc/modules'):
return False
if 'kvm_' not in open('/proc/modules').read():
return False
if not has_libvirt:
Expand Down

0 comments on commit ff21718

Please sign in to comment.