summaryrefslogtreecommitdiffstats
path: root/modules/nginx
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2017-11-07 22:16:04 -0500
committerJesse Luehrs <doy@tozt.net>2017-11-07 22:16:45 -0500
commitc0060d01e6953bfe9bf90449136260489bb89d54 (patch)
tree2d1a3a7f51c611fdb0a1f826a8ccdb85e150856d /modules/nginx
parent4d13305a8b48206c317786b91f90388d30c6f7ad (diff)
downloadpuppet-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.pp3
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"];
}
}