fix one path
authorPeter Palfrader <peter@palfrader.org>
Tue, 3 Oct 2017 08:48:55 +0000 (10:48 +0200)
committerPeter Palfrader <peter@palfrader.org>
Tue, 3 Oct 2017 08:48:55 +0000 (10:48 +0200)
modules/ssl/manifests/init.pp

index c6373b2..a63f8f7 100644 (file)
@@ -101,7 +101,7 @@ class ssl {
                mode    => '0755',
        }
        file { '/etc/ssl/debian/certs/thishost.crt':
-               content => inline_template('<%= File.read(scope().call_function("hiera", ["paths.auto_clientcerts_dir"]) + "/" + @fqdn + "client.crt") %>'),
+               content => inline_template('<%= File.read(scope().call_function("hiera", ["paths.auto_clientcerts_dir"]) + "/" + @fqdn + ".client.crt") %>'),
                notify  => Exec['refresh_debian_hashes'],
        }
        file { '/etc/ssl/debian/certs/ca.crt':