# File lib/puppet/provider/package/blastwave.rb, line 62
62:   def self.blastsplit(line)
63:     if line =~ /\s*(\S+)\s+((\[Not installed\])|(\S+))\s+(\S+)/
64:       hash = {}
65:       hash[:name] = $1
66:       hash[:ensure] = if $2 == "[Not installed]"
67:         :absent
68:       else
69:         $2
70:       end
71:       hash[:avail] = $5
72: 
73:       hash[:avail] = hash[:ensure] if hash[:avail] == "SAME"
74: 
75:       # Use the name method, so it works with subclasses.
76:       hash[:provider] = self.name
77: 
78:       return hash
79:     else
80:       Puppet.warning "Cannot match #{line}"
81:       return nil
82:     end
83:   end