# File lib/puppet/network/formats.rb, line 39
39:   def requiring_zlib
40:     if use_zlib?
41:       yield
42:     else
43:       raise Puppet::Error, "the zlib library is not installed or is disabled."
44:     end
45:   end