[Mageia-sysadm] [615] reload apache when transifex configuration is changed

root at mageia.org root at mageia.org
Wed Dec 15 02:39:31 CET 2010


Revision: 615
Author:   misc
Date:     2010-12-15 02:39:31 +0100 (Wed, 15 Dec 2010)
Log Message:
-----------
reload apache when transifex configuration is changed

Modified Paths:
--------------
    puppet/modules/transifex/manifests/init.pp

Modified: puppet/modules/transifex/manifests/init.pp
===================================================================
--- puppet/modules/transifex/manifests/init.pp	2010-12-15 01:39:30 UTC (rev 614)
+++ puppet/modules/transifex/manifests/init.pp	2010-12-15 01:39:31 UTC (rev 615)
@@ -22,7 +22,8 @@
     group => apache,
     mode => 640,
     content => template("transifex/20-engines.conf"),
-    require => Package['transifex']
+    require => Package['transifex'],
+    notify => Service['apache']
   }
 
   file { "30-site.conf":
@@ -32,7 +33,8 @@
     group => root,
     mode => 644,
     content => template("transifex/30-site.conf"),
-    require => Package['transifex']
+    require => Package['transifex'],
+    notify => Service['apache']
   }
 
 #  apache::vhost_django_app { "transifex.$domain":
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101215/29f9a52d/attachment.html>


More information about the Mageia-sysadm mailing list