make sure all files exist before making server.pem

This commit is contained in:
Leif Johansson 2018-02-12 00:42:20 +01:00
parent b97cfc0f86
commit 46878e1090

View file

@ -146,7 +146,7 @@ class md_signer($dest_host="localhost",$dest_dir="") {
}
}
class md_publisher(Array $allow_clients = ['any'], String $keyname = undef, String $dir = "/var/www/html") {
class md_publisher(Array $allow_clients = ['any'], $keyname = undef, String $dir = "/var/www/html") {
$_keyname = $keyname ? {
undef => $::fqdn,
default => $keyname