def _portsnap():
    ret = ['portsnap']
    if float(__grains__['osrelease']) >= 10:
        ret.append('--interactive')
    return ret
Return 'portsnap --interactive' for FreeBSD 10, otherwise 'portsnap'
dataset/ETHPy150Open saltstack/salt/salt/modules/freebsdports.py/_portsnap