freebsd-ports/sysutils/salt/files/patch-kvm_hyper.py
Michael Scheidell 23c27f6180 - Fixes broken read of '/proc/modules' [1]
- Silence warning from setup.py during build [1]
- Reorder _DEPENDS lines
- Bump PORTREVISION

PR:		ports/166322 [1]
Submitted by:	Christer Edwards <christer.edwards@gmail.com> (maintainer)
Approved by:	Christer Edwards <christer.edwards@gmail.com> (maintainer)
Feature safe:	yes
2012-03-24 22:02:35 +00:00

11 lines
410 B
Python

--- salt-0.9.8/kvm_hyper.py 2012-03-22 10:57:13.019199302 -0600
+++ salt/modules/kvm_hyper.py 2012-03-22 10:57:45.441204588 -0600
@@ -46,6 +46,8 @@
return False
if __grains__['virtual'] != 'physical':
return False
+ if __grains__['kernel'] != 'Linux':
+ return False
if 'kvm_' not in open('/proc/modules').read():
return False
if not has_libvirt: