summaryrefslogtreecommitdiffstats
path: root/lib/puppet/rails/rails_resource.rb
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@puppetlabs.com>2011-06-01 14:49:00 -0700
committerDaniel Pittman <daniel@puppetlabs.com>2011-06-01 16:28:32 -0700
commitbe233c33a8f857b0edc07e24f74db85d469983a4 (patch)
tree4625a673b81c981c630ec3021000ef107bc232e5 /lib/puppet/rails/rails_resource.rb
parent2389bdf85bf0ae26110666ff34680d057acc32ff (diff)
downloadpuppet-be233c33a8f857b0edc07e24f74db85d469983a4.tar.gz
puppet-be233c33a8f857b0edc07e24f74db85d469983a4.tar.xz
puppet-be233c33a8f857b0edc07e24f74db85d469983a4.zip
(#7683) Use ronn, when available, to render the output.
We now look for ronn(1), and if it is available ask it to generate the *roff output, delegate that to man(1) directly, and show the result to the user in their pager. If ronn(1) isn't available we delegate to $MANPAGER, $PAGER, less, most, or more, in that order, to paginate the raw markdown. Not nearly so nice, but better than doing nothing. Finally, if none of those pagers are available we fall through to the default behaviour of puppet rendering the output, which more or less results in a direct dump to the console. Nice. Reviewed-By: Nick Fagerlund <nick.fagerlund@puppetlabs.com>
Diffstat (limited to 'lib/puppet/rails/rails_resource.rb')
0 files changed, 0 insertions, 0 deletions