Entire series:
paired-with: Daniel Pittman <[email protected]>
paired-with: Paul Berry <[email protected]>
Signed-off-by: nfagerlund <[email protected]>
---
Local-branch: ticket/next/1204
tasks/rake/manpages.rake | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tasks/rake/manpages.rake b/tasks/rake/manpages.rake
index f48e57c..f7275e4 100644
--- a/tasks/rake/manpages.rake
+++ b/tasks/rake/manpages.rake
@@ -7,8 +7,8 @@ task :gen_manpages do
bins = Dir.glob(%w{bin/*})
applications = Dir.glob(%w{lib/puppet/application/*})
# Locate ronn
- ronn = %x{which ronn}
- ronn.chomp!
+ ronn = %x{which ronn}.chomp
+ unless File.executable?(ronn) then fail("Ronn does not appear to be
installed.") end
# Create puppet.conf.5 man page
%x{RUBYLIB=./lib:$RUBYLIB bin/puppetdoc --reference configuration >
./man/man5/puppetconf.5.ronn}
--
1.7.3.3
--
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-dev?hl=en.