]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Deploy common-ssl.inc to all apache hosts. where needed it may be included.
authorMartin Zobel-Helas <zobel@debian.org>
Fri, 16 Mar 2012 09:01:47 +0000 (10:01 +0100)
committerMartin Zobel-Helas <zobel@debian.org>
Fri, 16 Mar 2012 09:01:47 +0000 (10:01 +0100)
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
modules/apache2/manifests/init.pp

index 0734d2c1148b7b31c214d71120d4c63e03c066fc..ade26fb1fb3e41cd6649b16e22f6362bea766082 100644 (file)
@@ -106,6 +106,12 @@ class apache2 {
             require => Package["apache2"],
             notify  => Exec["reload-apache2"];
 
+        "/etc/apache2/sites-available/common-ssl.inc":
+            source  => [ "puppet:///modules/apache2/per-host/$fqdn//etc/apache2/sites-available/common-ssl.inc",
+                         "puppet:///modules/apache2/common/etc/apache2/sites-available/common-ssl.inc" ],
+            require => Package["apache2"],
+            notify  => Exec["reload-apache2"];
+
         "/etc/logrotate.d/apache2":
             source  => [ "puppet:///modules/apache2/per-host/$fqdn/etc/logrotate.d/apache2",
                          "puppet:///modules/apache2/common/etc/logrotate.d/apache2" ];