# File lib/puppet/provider/zpool/solaris.rb, line 41 41: def get_pool_data 42: #this is all voodoo dependent on the output from zpool 43: zpool_data = %x{ zpool status #{@resource[:pool]}}.split("\n").select { |line| line.index("\t") == 0 }.collect { |l| l.strip.split("\s")[0] } 44: zpool_data.shift 45: zpool_data 46: end