diff options
author | Jesse Luehrs <doy@tozt.net> | 2017-11-07 22:16:04 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2017-11-07 22:16:45 -0500 |
commit | c0060d01e6953bfe9bf90449136260489bb89d54 (patch) | |
tree | 2d1a3a7f51c611fdb0a1f826a8ccdb85e150856d /modules/nginx | |
parent | 4d13305a8b48206c317786b91f90388d30c6f7ad (diff) | |
download | puppet-tozt-c0060d01e6953bfe9bf90449136260489bb89d54.tar.gz puppet-tozt-c0060d01e6953bfe9bf90449136260489bb89d54.zip |
wait until haveged is installed and running to generate dhparam
otherwise it times out sometimes
Diffstat (limited to 'modules/nginx')
-rw-r--r-- | modules/nginx/manifests/config.pp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/nginx/manifests/config.pp b/modules/nginx/manifests/config.pp index 42b5f99..ee5a294 100644 --- a/modules/nginx/manifests/config.pp +++ b/modules/nginx/manifests/config.pp @@ -14,6 +14,7 @@ class nginx::config { exec { 'openssl dhparam -out /etc/nginx/dhparam.pem 4096': path => '/usr/bin', - creates => '/etc/nginx/dhparam.pem'; + creates => '/etc/nginx/dhparam.pem', + require => Service["haveged"]; } } |