aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-12-02 01:30:22 +0000
committerMichael Scherer <misc@mageia.org>2010-12-02 01:30:22 +0000
commit01bf7c585f6bd6bc6c87067599aa45ef83767405 (patch)
tree0dd2717a5bcec5c8ce4bee93d8c0ac343ddca504 /modules/apache
parent522df156988e721d1a4d90c37e8a8dc0f88fd659 (diff)
downloadpuppet-01bf7c585f6bd6bc6c87067599aa45ef83767405.tar
puppet-01bf7c585f6bd6bc6c87067599aa45ef83767405.tar.gz
puppet-01bf7c585f6bd6bc6c87067599aa45ef83767405.tar.bz2
puppet-01bf7c585f6bd6bc6c87067599aa45ef83767405.tar.xz
puppet-01bf7c585f6bd6bc6c87067599aa45ef83767405.zip
add ordering to the ssl cert creation ( so apache do not fail when reloaded )
Diffstat (limited to 'modules/apache')
-rw-r--r--modules/apache/manifests/init.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/apache/manifests/init.pp b/modules/apache/manifests/init.pp
index 6c775954..04ca16e1 100644
--- a/modules/apache/manifests/init.pp
+++ b/modules/apache/manifests/init.pp
@@ -100,7 +100,8 @@ class apache {
if $use_ssl {
include apache::mod_ssl
openssl::self_signed_cert{ "$name":
- directory => "/etc/ssl/apache/"
+ directory => "/etc/ssl/apache/",
+ before => File["$name.conf"],
}
}