def _portsnap():
 ret = ['portsnap']
 if (float(__grains__['osrelease']) >= 10):
  ret.append('--interactive')
 return ret

def _portsnap ( ) : ret = [ 'portsnap' ] if ( float ( __grains__ [ 'osrelease' ] ) >= 10 ) : ret . append ( '--interactive' ) return ret
return portsnap --interactive for freebsd 10 .