diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-05-23 12:01:15 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-05-23 12:01:15 -0300 |
commit | 9a41c103196507a348b6edf12669a903c872d235 (patch) | |
tree | 01bab3eebcf3fd9b64c053b8e79171d108ecdc56 | |
parent | 82330a79dff899bd3a4a1efd8f686da2fcdaf3d6 (diff) | |
download | puppet-nginx-9a41c103196507a348b6edf12669a903c872d235.tar.gz puppet-nginx-9a41c103196507a348b6edf12669a903c872d235.tar.bz2 |
Use ssl::dhparams
-rw-r--r-- | manifests/init.pp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index dbbf4f4..ed6b3db 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -20,11 +20,7 @@ class nginx inherits nginx::base { include ssl # See https://weakdh.org/ - exec { 'openssl-nginx-gendh-2048': - command => 'openssl dhparam -out /etc/ssl/private/dhparams.pem 2048', - user => root, - group => root, - creates => '/etc/ssl/private/dh_2048.pem', + ssl::dhparams { 'openssl-nginx-gendh-2048': notify => Service['nginx'], } |