# Returns a hash to be merged into a nginx::resource::location resource. function letsencrypt::conf::nginx::location ( String $cert_name, ) >> Letsencrypt::Ssl_conf::Nginx::Location { $cert_path = $facts['letsencrypt_directory'][$cert_name] if $cert_path == undef { { ssl => false, } } else { { ssl => true, ssl_only => true, } } }