Merge pull request #7637 from virtua-network/fix-smf

Allow SmartOS to use the smf module
This commit is contained in:
Joseph Hall 2013-10-06 05:18:49 -07:00
commit 57e69016d2

View File

@ -16,6 +16,7 @@ def __virtual__():
# Don't let this work on Solaris 9 since SMF doesn't exist on it.
enable = set((
'Solaris',
'SmartOS',
))
if __grains__['os'] in enable:
if __grains__['os'] == 'Solaris' and __grains__['kernelrelease'] == "5.9":