Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:220:in `function_template' /usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:211:in `collect' /usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:211:in `function_template' /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/function.rb:14:in `send' /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/function.rb:14:in `evaluate' /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast.rb:54:in `safeevaluate' /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resourceparam.rb:16:in `evaluate' /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast.rb:54:in `safeevaluate' /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resource.rb:15:in `evaluate' /usr/lib/ruby/1.8/erb.rb:739:in `collect' /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/branch.rb:16:in `each' /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/branch.rb:15:in `each' /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resource.rb:14:in `collect' /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resource.rb:14:in `evaluate' /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast.rb:54:in `safeevaluate' /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/astarray.rb:35:in `evaluate' /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/astarray.rb:34:in `collect' /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/astarray.rb:34:in `evaluate' /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast.rb:54:in `safeevaluate' /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/definition.rb:44:in `evaluate_code' /usr/lib/ruby/site_ruby/1.8/puppet/parser/resource.rb:61:in `evaluate' /usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:272:in `evaluate_definitions' /usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:270:in `each' /usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:270:in `evaluate_definitions' /usr/lib/ruby/site_ruby/1.8/puppet/util/errors.rb:25:in `exceptwrap' /usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:267:in `evaluate_definitions' /usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:295:in `evaluate_generators' /usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:290:in `loop' /usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:290:in `evaluate_generators' /usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:92:in `compile' /usr/lib/ruby/site_ruby/1.8/puppet/parser/interpreter.rb:29:in `compile' /usr/lib/ruby/site_ruby/1.8/puppet/network/handler/configuration.rb:107:in `compile' /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:217:in `benchmark' /usr/lib/ruby/site_ruby/1.8/puppet/network/handler/configuration.rb:105:in `compile' /usr/lib/ruby/site_ruby/1.8/puppet/network/handler/configuration.rb:40:in `configuration' /usr/lib/ruby/site_ruby/1.8/puppet/network/handler/master.rb:69:in `getconfig' /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:212:in `benchmark' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib/ruby/1.8/benchmark.rb:307:in `realtime' /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:211:in `benchmark' /usr/lib/ruby/site_ruby/1.8/puppet/network/handler/master.rb:68:in `getconfig' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/inflector.rb:257:in `to_proc' /usr/lib/ruby/site_ruby/1.8/puppet/network/xmlrpc/processor.rb:52:in `call' /usr/lib/ruby/site_ruby/1.8/puppet/network/xmlrpc/processor.rb:52:in `protect_service' /usr/lib/ruby/site_ruby/1.8/puppet/network/xmlrpc/processor.rb:85:in `setup_processor' /usr/lib/ruby/1.8/xmlrpc/server.rb:336:in `call' /usr/lib/ruby/1.8/xmlrpc/server.rb:336:in `dispatch' /usr/lib/ruby/1.8/xmlrpc/server.rb:323:in `each' /usr/lib/ruby/1.8/xmlrpc/server.rb:323:in `dispatch' /usr/lib/ruby/1.8/xmlrpc/server.rb:366:in `call_method' /usr/lib/ruby/1.8/xmlrpc/server.rb:378:in `handle' /usr/lib/ruby/site_ruby/1.8/puppet/network/xmlrpc/processor.rb:44:in `process' /usr/lib/ruby/site_ruby/1.8/puppet/network/xmlrpc/webrick_servlet.rb:68:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' /usr/lib/ruby/site_ruby/1.8/puppet.rb:336:in `start' /usr/lib/ruby/site_ruby/1.8/puppet.rb:187:in `newthread' /usr/lib/ruby/site_ruby/1.8/puppet.rb:186:in `initialize' /usr/lib/ruby/site_ruby/1.8/puppet.rb:186:in `new' /usr/lib/ruby/site_ruby/1.8/puppet.rb:186:in `newthread' /usr/lib/ruby/site_ruby/1.8/puppet.rb:334:in `start' /usr/lib/ruby/site_ruby/1.8/puppet.rb:333:in `each' /usr/lib/ruby/site_ruby/1.8/puppet.rb:333:in `start' /usr/sbin/puppetmasterd:284 /usr/lib/ruby/site_ruby/1.8/puppet/parser/interpreter.rb:32:in `compile' /usr/lib/ruby/site_ruby/1.8/puppet/network/handler/configuration.rb:107:in `compile' /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:217:in `benchmark' /usr/lib/ruby/site_ruby/1.8/puppet/network/handler/configuration.rb:105:in `compile' /usr/lib/ruby/site_ruby/1.8/puppet/network/handler/configuration.rb:40:in `configuration' /usr/lib/ruby/site_ruby/1.8/puppet/network/handler/master.rb:69:in `getconfig' /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:212:in `benchmark' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib/ruby/1.8/benchmark.rb:307:in `realtime' /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:211:in `benchmark' /usr/lib/ruby/site_ruby/1.8/puppet/network/handler/master.rb:68:in `getconfig' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/inflector.rb:257:in `to_proc' /usr/lib/ruby/site_ruby/1.8/puppet/network/xmlrpc/processor.rb:52:in `call' /usr/lib/ruby/site_ruby/1.8/puppet/network/xmlrpc/processor.rb:52:in `protect_service' /usr/lib/ruby/site_ruby/1.8/puppet/network/xmlrpc/processor.rb:85:in `setup_processor' /usr/lib/ruby/1.8/xmlrpc/server.rb:336:in `call' /usr/lib/ruby/1.8/xmlrpc/server.rb:336:in `dispatch' /usr/lib/ruby/1.8/xmlrpc/server.rb:323:in `each' /usr/lib/ruby/1.8/xmlrpc/server.rb:323:in `dispatch' /usr/lib/ruby/1.8/xmlrpc/server.rb:366:in `call_method' /usr/lib/ruby/1.8/xmlrpc/server.rb:378:in `handle' /usr/lib/ruby/site_ruby/1.8/puppet/network/xmlrpc/processor.rb:44:in `process' /usr/lib/ruby/site_ruby/1.8/puppet/network/xmlrpc/webrick_servlet.rb:68:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' /usr/lib/ruby/site_ruby/1.8/puppet.rb:336:in `start' /usr/lib/ruby/site_ruby/1.8/puppet.rb:187:in `newthread' /usr/lib/ruby/site_ruby/1.8/puppet.rb:186:in `initialize' /usr/lib/ruby/site_ruby/1.8/puppet.rb:186:in `new' /usr/lib/ruby/site_ruby/1.8/puppet.rb:186:in `newthread' /usr/lib/ruby/site_ruby/1.8/puppet.rb:334:in `start' /usr/lib/ruby/site_ruby/1.8/puppet.rb:333:in `each' /usr/lib/ruby/site_ruby/1.8/puppet.rb:333:in `start' /usr/sbin/puppetmasterd:284 err: Failed to parse template jboss/cluster-service.xml.erb: wrong number of arguments (0 for 1) at /etc/puppet/modules/jboss/manifests/init.pp:230 on node sfdjapp05
This paste will be private.
From the Design Piracy series on my blog: