From bd73709d34dbf91f8827357e875f9cbc23eabd87 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 10 Jun 2015 22:07:37 -0300 Subject: Fix ssl::dhparams output folder --- manifests/dhparams.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/dhparams.pp b/manifests/dhparams.pp index baef1b3..9d3a449 100644 --- a/manifests/dhparams.pp +++ b/manifests/dhparams.pp @@ -5,7 +5,7 @@ define ssl::dhparams( ) { exec { "${name}": - command => "openssl dhparam -out /etc/ssl/private/${prefix}_${size}.pem ${size}", + command => "openssl dhparam -out ${folder}/${prefix}_${size}.pem ${size}", user => root, group => root, creates => "${folder}/${prefix}_${size}.pem", -- cgit v1.2.3