Bug #1104

added better log information when ssldir is not the default

Added by Corey Osman almost 2 years ago. Updated 7 months ago.

Status:Resolved Start:08/11/2011
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:-
Target version:Foreman - Bug scrub
Backlog:No Difficulity:
Votes: 1 (View)

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 dd633419384cff46cd398b3e56078e3943b208f3
Added by Greg Sutcliffe 7 months ago

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

History

Updated by Jacob McCann over 1 year 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

Updated by Greg Sutcliffe 7 months ago

  • Target version set to Bug scrub

Updated by Greg Sutcliffe 7 months ago

  • Status changed from New to Ready For Testing

Updated by Dominic Cleal 7 months ago

  • Status changed from Ready For Testing to Resolved

Merged in 1ad2e81fc618a4bd845595664d4786e99983dc63.

Also available in: Atom PDF