summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/settings.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-04-28 17:52:02 -0500
committerLuke Kanies <luke@madstop.com>2008-04-28 17:52:02 -0500
commit8c9b04d807b34ade704da3584b72d39bb129aa75 (patch)
treec76828f38c7c8d28f4b533d556e809d0bf3c1437 /lib/puppet/util/settings.rb
parent83519f4e59f68f867f8ddbe141ac8bd9a6238ae1 (diff)
downloadpuppet-8c9b04d807b34ade704da3584b72d39bb129aa75.tar.gz
puppet-8c9b04d807b34ade704da3584b72d39bb129aa75.tar.xz
puppet-8c9b04d807b34ade704da3584b72d39bb129aa75.zip
I think I've now got the Webrick SSL support working.
Now I just need to get xmlrpc working alongside REST in both mongrel and webrick.
Diffstat (limited to 'lib/puppet/util/settings.rb')
-rw-r--r--lib/puppet/util/settings.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/puppet/util/settings.rb b/lib/puppet/util/settings.rb
index e595e2eea..65668f919 100644
--- a/lib/puppet/util/settings.rb
+++ b/lib/puppet/util/settings.rb
@@ -585,7 +585,12 @@ Generated on #{Time.now}.
catalog.host_config = false
catalog.apply do |transaction|
if failures = transaction.any_failed?
- raise "Could not configure for running; got %s failure(s)" % failures
+ # LAK:NOTE We should do something like this for some cases,
+ # since it can otherwise be hard to know what failed.
+ #transaction.report.logs.find_all { |log| log.level == :err }.each do |log|
+ # puts log.message
+ #end
+ raise "Could not configure myself; got %s failure(s)" % failures
end
end
end