Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
# a simple ssh_host_key example class ssh_host_keys { file { "/etc/ssh/host_keys": contents => template("ssh_host_keys.erb"), owner => root, group => root, mode => 644, } } # ssh_host_keys.erb <% require '/srv/icagent/lib/iclassify' -%> <% ic = IClassify::Client.new("https://iclassify", iclassify_user, iclassify_password) -%> <% ic.search("ssh_host_key:*", [ "ssh_host_key" ]).each do |n| -%> <%= n.attrib?(:ssh_host_key) %> <% end -%>
This paste will be private.
From the Design Piracy series on my blog: