Project

General

Profile

Bug #1104

added better log information when ssldir is not the default

Added by Corey Osman over 9 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

def find_puppetca
      ssl_dir = Pathname.new ssldir
      unless (ssl_dir + "ca").directory?
        logger.warn "PuppetCA: SSL/CA unavailable on this machine" 
        raise "SSL/CA unavailable on this machine" 
      end

It would be more helpful if the warning said: PuppetCA: SSL/CA unavailable on this machine, try adding ssldir: <path to puppet ssl dir> in the smart proxy settings.

Associated revisions

Revision dd633419 (diff)
Added by Greg Sutcliffe about 8 years ago

More detailed log message for puppetca ssldir Add ssldir and puppetdir to config examples Fixes #1104

History

#1 Updated by Jacob McCann almost 9 years ago

I just ran into this as well. Noticed it is documented in the wiki, but as stated its not meantioned in error output. Also, there is no 'sample' variable in settings.yml

#2 Updated by Greg Sutcliffe about 8 years ago

  • Target version set to Bug scrub

#3 Updated by Greg Sutcliffe about 8 years ago

  • Status changed from New to Ready For Testing

#4 Updated by Dominic Cleal about 8 years ago

  • Status changed from Ready For Testing to Resolved

Merged in 1ad2e81fc618a4bd845595664d4786e99983dc63.

Also available in: Atom PDF