# File lib/puppet/provider/selmodule/semodule.rb, line 23 23: def exists? 24: self.debug "Checking for module #{@resource[:name]}" 25: execpipe("#{command(:semodule)} --list") do |out| 26: out.each do |line| 27: if line =~ /#{@resource[:name]}\b/ 28: return :true 29: end 30: end 31: end 32: return nil 33: end