lib/poolparty/dependency_resolver/chef_resolver.rb
def handle_print_service(plugin, tabs)
      if plugin && plugin.has_key?(:resources) && !plugin[:resources].empty?
        kname = plugin.delete(:name).to_s.gsub(/pool_party_/, '').gsub(/_class/, '')
        str = "\n#{tf(tabs)}# #{kname}\n"
        str << "#{tf(tabs)}"
        str << _compile(plugin,tabs+1, kname)
        str << "#{tf(tabs)}"
      end
      str
    end
# Compile and add to the zipper
Compile and add to the zipper
Compile and add to the zipper
def handle_print_service(plugin, tabs)
      if plugin && plugin.has_key?(:resources) && !plugin[:resources].empty?
        kname = plugin.delete(:name).to_s.gsub(/pool_party_/, '').gsub(/_class/, '')
        str = "\n#{tf(tabs)}# #{kname}\n"
        str << "#{tf(tabs)}"
        str << _compile(plugin,tabs+1, kname)
        str << "#{tf(tabs)}"
      end
      str
    end
def handle_print_service ( plugin , tabs ) if plugin && plugin . has_key? ( :resources ) && ! plugin [ :resources ] . empty? kname = plugin . delete ( :name ) . to_s . gsub ( / pool_party_ / , '' ) . gsub ( / _class / , '' ) str = "\n#{tf(tabs)}# #{kname}\n" str << "#{tf(tabs)}" str << _compile ( plugin , tabs + 1 , kname ) str << "#{tf(tabs)}" end str end
Compile and add to the zipper
Compile and add to the zipper
plugin
tabs